Search Results for

    Show / Hide Table of Contents

    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()
    Namespace: Sdl.LanguageCloud.IdentityApi
    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
    Type Description
    LanguageCloudIdentityApi

    LanguageCloudCredential

    Declaration
    public LanguageCloudCredentialInfo LanguageCloudCredential { get; }
    Property Value
    Type Description
    LanguageCloudCredentialInfo

    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
    public bool Logout()
    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

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Fields
      • LoginStatusChanged
    • Properties
      • AccessToken
      • ActiveAccountId
      • ActiveTenantId
      • ActiveUserId
      • ApiKey
      • Instance
      • LanguageCloudCredential
      • SessionId
      • StudioApplicationKey
      • StudioClientId
    • Methods
      • EnsureValidConnection()
      • Logout()
      • TryLogin(out String, Boolean)
    • Extension Methods
    Back to top Generated by DocFX