Class: auth
Management of remote authentication services
Fields for class: auth
Class auth has no fields.
RPCs associated with class: auth
RPC name: getgroupmembership
Overview:
This calls queries the external directory service to obtain the transitivelyclosed set of groups that the the subjectidentifier is member of.
Signature:
string set get_group_membership (session ref session_ref, string subject_identifier)
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
subject_identifier |
A string containing the subject_identifier, unique in the external directory service |
Minimum Role: read-only
Return Type:
string set
set of subjectidentifiers that provides the group membership of subjectidentifier passed as argument, it contains, recursively, all groups a subjectidentifier is member of.
RPC name: getsubjectidentifier
Overview:
This call queries the external directory service to obtain the subjectidentifier as a string from the humanreadable subjectname
Signature:
string get_subject_identifier (session ref session_ref, string subject_name)
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
subject_name |
The human-readable subject_name, such as a username or a groupname |
Minimum Role: read-only
Return Type:
string
the subjectidentifier obtained from the external directory service
RPC name: getsubjectinformationfromidentifier
Overview:
This call queries the external directory service to obtain the user information for example, username, organization etc. from the specified subjectidentifier
Signature:
(string -> string) map get_subject_information_from_identifier (session ref session_ref, string subject_identifier)
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
subject_identifier |
A string containing the subject_identifier, unique in the external directory service |
Minimum Role: read-only
Return Type:
(string -> string) map
keyvalue pairs containing at least a key called subjectname