Class LanguageCloudIdentityApi
Inheritance
System.Object
LanguageCloudIdentityApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguageCloud.IdentityApi.dll
Syntax
public class LanguageCloudIdentityApi
Fields
LoginStatusChanged
Declaration
public EventHandler LoginStatusChanged
Field Value
Type |
Description |
System.EventHandler |
|
Properties
AccessToken
Declaration
public string AccessToken { get; }
Property Value
Type |
Description |
System.String |
|
ActiveAccountId
Declaration
public string ActiveAccountId { get; }
Property Value
Type |
Description |
System.String |
|
ActiveTenantId
Declaration
public string ActiveTenantId { get; }
Property Value
Type |
Description |
System.String |
|
ActiveUserId
Declaration
public string ActiveUserId { get; }
Property Value
Type |
Description |
System.String |
|
ApiKey
Declaration
public string ApiKey { get; }
Property Value
Type |
Description |
System.String |
|
Instance
Declaration
public static LanguageCloudIdentityApi Instance { get; }
Property Value
LanguageCloudCredential
Declaration
public LanguageCloudCredentialInfo LanguageCloudCredential { get; }
Property Value
SessionId
Declaration
[Obsolete("Use AccessToken instead. Soon to be removed")]
public string SessionId { get; }
Property Value
Type |
Description |
System.String |
|
StudioApplicationKey
Declaration
public string StudioApplicationKey { get; }
Property Value
Type |
Description |
System.String |
|
StudioClientId
Declaration
public string StudioClientId { get; }
Property Value
Type |
Description |
System.String |
|
Methods
EnsureValidConnection()
Declaration
public void EnsureValidConnection()
Logout()
Declaration
Returns
Type |
Description |
System.Boolean |
|
TryLogin(out String, Boolean)
Declaration
public bool TryLogin(out string errorMessage, bool showLoginDialog = true)
Parameters
Type |
Name |
Description |
System.String |
errorMessage |
|
System.Boolean |
showLoginDialog |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods