Signon.SecurityContext

Fields

None

Methods

class

new ()

class

new_from_values (system_context, application_context)

copy ()

free ()

get_application_context ()

get_system_context ()

set_application_context (application_context)

set_system_context (system_context)

Details

class Signon.SecurityContext

Opaque struct. Use the accessor functions below.

classmethod new()
Returns:

a new Signon.SecurityContext item.

Return type:

Signon.SecurityContext

Creates a new Signon.SecurityContext item.

classmethod new_from_values(system_context, application_context)
Parameters:
  • system_context (str) – system security context

  • application_context (str) – application security context

Returns:

a new Signon.SecurityContext item.

Return type:

Signon.SecurityContext

Creates a new Signon.SecurityContext item.

copy()
Returns:

a copy of the given Signon.IdentityInfo, or None on failure.

Return type:

Signon.SecurityContext

Get a newly-allocated copy of info.

free()

Destroys the given Signon.SecurityContext item.

get_application_context()
Returns:

the application context.

Return type:

str

Get the application context of self.

get_system_context()
Returns:

the system context.

Return type:

str

Get the system context of self.

set_application_context(application_context)
Parameters:

application_context (str) – the application context.

Sets the application context.

set_system_context(system_context)
Parameters:

system_context (str) – the system context.

Sets the system context.