Ags.SecurityContext

g Ags.SecurityContext Ags.SecurityContext GObject.Object GObject.Object GObject.Object->Ags.SecurityContext

Subclasses:

Ags.AuthSecurityContext

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

add_server_context (server_context)

get_business_group ()

get_server_context ()

parse_business_group (xml_doc, user_uuid)

remove_server_context (server_context)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

certs

str

r/w

The certificates as string

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

business_group

str

r

certs

str

r

gobject

GObject.Object

r

obj_mutex

GLib.RecMutex

r

server_context

str

r

server_context_umask

int

r

Class Details

class Ags.SecurityContext(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Ags.SecurityContextClass

classmethod new()
Returns:

the new Ags.SecurityContext instance

Return type:

Ags.SecurityContext

Create Ags.SecurityContext.

New in version 3.0.0.

add_server_context(server_context)
Parameters:

server_context (str) – the server context

Add server_context to self.

New in version 3.0.0.

get_business_group()
Returns:

the string vector containing business group or None

Return type:

[str]

Get business group of self.

New in version 3.0.0.

get_server_context()
Returns:

the string vector containing business group or None

Return type:

[str]

Get business group of self.

New in version 3.0.0.

parse_business_group(xml_doc, user_uuid)
Parameters:

Parse business_group and apply to self.

New in version 3.0.0.

remove_server_context(server_context)
Parameters:

server_context (str) – the server context

Returns:

True on success, otherwise False

Return type:

bool

Remove server_context from self.

New in version 3.0.0.

Property Details

Ags.SecurityContext.props.certs
Name:

certs

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The assigned certificates as string.

New in version 3.0.0.