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 PkceConfigurationProvider

    This IPkceConfigurationProvider implementation handles the access to a PkceConfiguration.

    Inheritance
    Object
    PkceConfigurationProvider
    Implements
    IPkceConfigurationProvider
    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
    Assembly: solution.dll
    Syntax
    public class PkceConfigurationProvider : IPkceConfigurationProvider

    Constructors

    PkceConfigurationProvider(IHttpClient, IAccessTokenProvider, IAppIdProvider, IAppNameProvider)

    Builds a PkceConfigurationProvider handles the access to a PkceConfiguration.

    Declaration
    public PkceConfigurationProvider(IHttpClient httpClient, IAccessTokenProvider accessTokenProvider, IAppIdProvider appIdProvider, IAppNameProvider appNameProvider = null)
    Parameters
    Type Name Description
    Unity.DigitalTwins.Common.IHttpClient httpClient

    An Unity.DigitalTwins.Common.IHttpClient to make http requests.

    Unity.DigitalTwins.Common.IAccessTokenProvider accessTokenProvider

    An Unity.DigitalTwins.Common.IAccessTokenProvider to inject the authenticated access token in http requests.

    Unity.DigitalTwins.Common.IAppIdProvider appIdProvider

    An Unity.DigitalTwins.Common.IAppIdProvider to inject the app identifier in cloud endpoint requests.

    Unity.DigitalTwins.Common.IAppNameProvider appNameProvider

    An optional Unity.DigitalTwins.Common.IAppNameProvider to build the unique uri scheme used to bind the app to the browser response in a login operation.

    Methods

    GetPkceConfigurationAsync()

    Creates a Task that results in a PkceConfiguration when internal update is completed.

    Declaration
    public async Task<PkceConfiguration> GetPkceConfigurationAsync()
    Returns
    Type Description
    Task<PkceConfiguration>

    A Task that results in a PkceConfiguration when internal update is completed.

    Implements

    IPkceConfigurationProvider
    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