Namespace Unity.DigitalTwins.Identity
Classes
BrowserAuthenticatedAccessTokenProvider
An IAccessTokenProvider implementation that expects an access token from a browser environment.
CommandLineAccessTokenProvider
An IAccessTokenProvider implementation that expects an access token value from a provided -DT_ACCESS_TOKEN launch argument.
DeviceToken
This class holds the token information related to a user authenticated session.
HttpPkceRequestHandler
This class handles all http requests required in the Proof Key Code Exchange authentication flow.
LaunchArgumentsParser
This class handles launch arguments parsing of the current running process.
LicenseInfo
This class holds the licence information, such as expiry date, LicenseType and entitlement string identifier.
OrganizationInfo
This class holds the organization information and its user related properties.
PersonalAccessTokenProvider
An IAccessTokenProvider implementation that expects a PAT (personal access token) from a provided -DT_PERSONAL_ACCESS_TOKEN launch argument or a DT_PERSONAL_ACCESS_TOKEN environment variable.
PkceAuthenticator
An IAuthenticator implementation that provides authentication through PKCE (Proof Key Code Exchange) standards.
PkceConfiguration
This class holds all information required to perform Proof Key Code Exchange (PKCE) authentication.
PkceConfigurationProvider
This IPkceConfigurationProvider implementation handles the access to a PkceConfiguration.
PreAuthenticatedHostAccessTokenProvider
An IAccessTokenProvider implementation that expects an access token from a preauthenticated host environment.
UserInfo
This class holds the authenticated user information, like organizations the user belongs to (OrganizationInfo) and granted licenses (LicenseInfo).
UserInfoProvider
Provides access to a UserInfo instance returned from a cloud endpoint.
Interfaces
IActivatePlatformSupport
This interface abstracts platform-specific logic to handle app activation from an url or key value pairs.
IAuthenticator
An interface that provides calls to allow the user to login or logout. When logging in, the interface returns a token you can use to retrieve access to Digital Twin services.
IInteractiveAuthenticator
An interface that exposes an additional Interactive property to the IAuthenticator.
IPkceConfigurationProvider
This interface abstracts access to a PkceConfiguration instance.
IPkcePlatformSupport
This interface abstracts common handling of platform-specific features in the authentication flow. PkceAuthenticator
IPkceRequestHandler
This interface defines methods related to retrieving pkce-related tokens
IPreAuthenticatedAccessTokenProvider
This interface exposes a single method to inject a preauthenticated access token.
IUserInfoProvider
An interface that allows access to a UserInfo instance.
Enums
AuthenticationState
Indicates the current authentication state in an application's lifetime.
LicenseType
This enum exposes possible licence type values.