This represents a session with the Connector Service.
More...
Inherits IDisposable.
Inherited by ConnectorSession.
|
byte[] | OrgId [get, set] |
| Gets or sets the organization to use for this session. Will automatically be read from the local config if it exists. (Setting it will not cause a configuration write.) If it is not set in the config, and if the login is associated with exactly one organization that organization will be used. More...
|
|
bool | IsTerminated [get] |
| Gets a value indicating whether this session has been terminated, either via logout or an exception that caused the server to drop the connection. More...
|
|
bool | IsFederatedSSO [get] |
| Gets a value indicating whether this session should use Single Sign On (SSO) for authenticating the user. More...
|
|
string | SSOCookieName [get] |
| Gets a value for the cookie name to look for when doing SSO More...
|
|
string | SSORedirectURL [get] |
| Gets a value for the URL to be used for SSO More...
|
|
string | SLORedirectURL [get] |
| Gets a value for the URL to be used for SLO More...
|
|
string | GlobalSSORedirectURL [get] |
| Gets a value for the URL to be used for GLOBAL LOGIN More...
|
|
string | AuthorizationCodeURL [get] |
| Gets a value for the Authorization Code URL to be used for GLOBAL LOGIN More...
|
|
string | AuthorizationCodeURLWithOrg [get] |
| Gets a value for the Authorization Code URL to be used for SSO LOGIN More...
|
|
string | ScimMeURL [get] |
| Gets a value for the URL to be used for calling the SCIM/V1/Users/Me API More...
|
|
string | UserName [get] |
| Gets a value for the user that is logged in More...
|
|
This represents a session with the Connector Service.
The session is not bound to a specific service type.
Return a service specific context for sending commands/actions to the DirSync service.
- Returns
- Context for managing the DirSync service
Retrieves a list of organizations that the logged in user has permissions to manage.
Often this will only return a single organization.
- Returns
- List of organizations
void Login |
( |
string |
userid, |
|
|
string |
password |
|
) |
| |
Login to the Connector service using CoDev
- Parameters
-
userid | The user OD |
password | The password |
void Login |
( |
string |
userid, |
|
|
byte[] |
secret |
|
) |
| |
Login to the Connector service using CoDev
- Parameters
-
userid | The user ID |
secret | The password |
Logout the session to the Connector Service.
string OAuthCodeLogin |
( |
string |
code, |
|
|
string |
cookieHeader |
|
) |
| |
Login to the Connector service using the code from grant_type=code
- Parameters
-
token | The token from Single Sign On |
cookieHeader | The cookie header from Single Sign On |
void Reset |
( |
string |
orgId | ) |
|
Rest the ConnectorURI to the one with OrgId
void SSOLogin |
( |
string |
token, |
|
|
string |
cookieHeader |
|
) |
| |
Login to the Connector service using the token from SSO.
- Parameters
-
token | The token from Single Sign On |
cookieHeader | The cookie header from Single Sign On |
string AuthorizationCodeURL |
|
get |
Gets a value for the Authorization Code URL to be used for GLOBAL LOGIN
string AuthorizationCodeURLWithOrg |
|
get |
Gets a value for the Authorization Code URL to be used for SSO LOGIN
string GlobalSSORedirectURL |
|
get |
Gets a value for the URL to be used for GLOBAL LOGIN
Gets a value indicating whether this session should use Single Sign On (SSO) for authenticating the user.
Gets a value indicating whether this session has been terminated, either via logout or an exception that caused the server to drop the connection.
Gets or sets the organization to use for this session. Will automatically be read from the local config if it exists. (Setting it will not cause a configuration write.) If it is not set in the config, and if the login is associated with exactly one organization that organization will be used.
Gets a value for the URL to be used for calling the SCIM/V1/Users/Me API
Gets a value for the URL to be used for SLO
Gets a value for the cookie name to look for when doing SSO
Gets a value for the URL to be used for SSO
Gets a value for the user that is logged in
The documentation for this interface was generated from the following file: