Class

HaslGs2Header

since: 0.3

Description [src]

final class Hasl.Gs2Header : GObject.Object {
  /* No available fields */
}

This is an object to make it easier to generate a GS2 Header. See https://www.rfc-editor.org/rfc/rfc5801#section-4 for the formal definition.

This is primarily meant to be used by mechanism implementations and should not be needed for normal use cases.

Available since: 0.3

Ancestors

Constructors

hasl_gs2_header_new

Creates a new gs2_header.

since: 0.3

Instance methods

hasl_gs2_header_get_authzid

Gets the authzid to use for this header.

since: 0.3

hasl_gs2_header_get_channel_binding

Gets the channel binding value for this header.

since: 0.3

hasl_gs2_header_get_channel_binding_name

Gets the name of the channel binding that is in use.

since: 0.3

hasl_gs2_header_get_standard_mechanism

Gets whether or not this header is for a standard GSS-API mechanism.

since: 0.3

hasl_gs2_header_set_authzid

Sets the username to authenticate for. This is used when an administrator or moderator needs to authenticate as a specific user using their own credentials.

since: 0.3

hasl_gs2_header_set_channel_binding

Sets the channel binding flag for header.

since: 0.3

hasl_gs2_header_set_channel_binding_name

Sets the name of the channel binding data that should be used.

since: 0.3

hasl_gs2_header_set_standard_mechanism

Sets whether or not the mechanism is a standard GSS-API mechanism.

since: 0.3

hasl_gs2_header_to_string

Serializes header to a string in the correct format.

since: 0.3

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Hasl.Gs2Header:authzid

An optional authzid to use. This is the username to authenticate as when using admin/moderator credentials.

since: 0.3

Hasl.Gs2Header:channel-binding

The channel binding flag for this header.

since: 0.3

Hasl.Gs2Header:channel-binding-name

The name of the channel binding data to use.

since: 0.3

Hasl.Gs2Header:standard-mechanism

Whether or not the mechanism is a standard GSS-API mechanism.

since: 0.3

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct HaslGs2HeaderClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.