docs.unity3d.com
  • Manual
  • Scripting API
  • Changelog
  • License

    • Unity.DigitalTwins.Identity
      • AuthenticationState
      • BrowserAuthenticatedAccessTokenProvider
      • CommandLineAccessTokenProvider
      • DeviceToken
      • HttpPkceRequestHandler
      • IActivatePlatformSupport
      • IAuthenticator
      • IInteractiveAuthenticator
      • IPkceConfigurationProvider
      • IPkcePlatformSupport
      • IPkceRequestHandler
      • IPreAuthenticatedAccessTokenProvider
      • IUserInfoProvider
      • LaunchArgumentsParser
      • LicenseInfo
      • LicenseType
      • OrganizationInfo
      • PersonalAccessTokenProvider
      • PkceAuthenticator
      • PkceConfiguration
      • PkceConfigurationProvider
      • PreAuthenticatedHostAccessTokenProvider
      • UserInfo
      • UserInfoProvider
    • Unity.DigitalTwins.Identity.Runtime
      • AndroidActivatePlatformSupport
      • AndroidPkcePlatformSupport
      • CompositeAuthenticator
      • EditorActivateFromUrl
      • EditorActivatePlatformSupport
      • EditorPkcePlatformSupport
      • IosActivatePlatformSupport
      • IosPkcePlatformSupport
      • LinuxActivatePlatformSupport
      • LinuxPkcePlatformSupport
      • OsxActivatePlatformSupport
      • OsxPkcePlatformSupport
      • PlatformSupportFactory
      • WebglActivatePlatformSupport
      • WebglPkcePlatformSupport
      • WindowsActivatePlatformSupport
      • WindowsPkcePlatformSupport

    Class PlatformSupportFactory

    A static factory that handles instanciation of platform-specific IActivatePlatformSupport and IPkcePlatformSupport.

    Inheritance
    Object
    PlatformSupportFactory
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.DigitalTwins.Identity.Runtime
    Assembly: solution.dll
    Syntax
    public static class PlatformSupportFactory

    Methods

    GetActivatePlatformSupport()

    A static factory that handles instanciation of a platform-specific IActivatePlatformSupport.

    Declaration
    public static IActivatePlatformSupport GetActivatePlatformSupport()
    Returns
    Type Description
    IActivatePlatformSupport

    A platform-specific IActivatePlatformSupport instance.

    Exceptions
    Type Condition
    NotImplementedException

    Throws a NotImplementedException if current execution platform cannot be determined.

    GetPkcePlatformSupport(IUrlRedirectionInterceptor)

    A static factory that handles instanciation of a platform-specific IPkcePlatformSupport.

    Declaration
    public static IPkcePlatformSupport GetPkcePlatformSupport(IUrlRedirectionInterceptor urlRedirectionInterceptor = null)
    Parameters
    Type Name Description
    Unity.DigitalTwins.Common.IUrlRedirectionInterceptor urlRedirectionInterceptor

    An optional IUrlRedirectionInterceptor instance that will be used in the authentication flow. If not set, the IPkcePlatformSupport instance generated will use default internal implementation.

    Returns
    Type Description
    IPkcePlatformSupport

    A platform-specific IPkcePlatformSupport instance.

    Exceptions
    Type Condition
    NotImplementedException

    Throws a NotImplementedException if current execution platform cannot be determined.

    Back to top Generated by DocFX
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023