docs.unity3d.com
    Show / Hide Table of Contents

    Class IosPkcePlatformSupport

    This class handles iOS platform-specific features in the authentication flow.

    Inheritance
    Object
    BasePkcePlatformSupport
    IosPkcePlatformSupport
    Inherited Members
    BasePkcePlatformSupport.UrlRedirectionInterceptor
    BasePkcePlatformSupport.HostUrl
    BasePkcePlatformSupport.ActivationUrl
    BasePkcePlatformSupport.ActivationKeyValue
    BasePkcePlatformSupport.GetAppStateOverride()
    BasePkcePlatformSupport.SecretCacheStore
    BasePkcePlatformSupport.CodeVerifierCacheStore
    BasePkcePlatformSupport.m_LoginUrl
    BasePkcePlatformSupport.m_UrlProcessor
    BasePkcePlatformSupport.ExportServiceAuthorizerToken(String, String)
    BasePkcePlatformSupport.GetRedirectUri(String)
    BasePkcePlatformSupport.GetRedirectUriAsync(String)
    BasePkcePlatformSupport.GetCancellationUri()
    BasePkcePlatformSupport.ProcessActivationUrl(List<String>)
    BasePkcePlatformSupport.GetRedirectionResult()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Identity.Runtime
    Syntax
    public class IosPkcePlatformSupport : BasePkcePlatformSupport, IAuthenticationPlatformSupport, IActivatePlatformSupport

    Constructors

    IosPkcePlatformSupport(IUrlRedirectionInterceptor, IUrlProcessor, IAppIdProvider, IAppNameProvider, String, String)

    Creates a IosPkcePlatformSupport instance using an IUrlRedirectionInterceptor.

    Declaration
    public IosPkcePlatformSupport(IUrlRedirectionInterceptor urlRedirectionInterceptor, IUrlProcessor urlProcessor, IAppIdProvider appIdProvider, IAppNameProvider appNameProvider, string cacheStorePath, string activationUrl = null)
    Parameters
    Type Name Description
    IUrlRedirectionInterceptor urlRedirectionInterceptor

    The IUrlRedirectionInterceptor that will intercept the authentication response sent after completing a login operation in browser.

    IUrlProcessor urlProcessor
    IAppIdProvider appIdProvider
    IAppNameProvider appNameProvider
    String cacheStorePath
    String activationUrl

    Methods

    OpenUrlAndWaitForRedirectAsync(String, List<String>)

    Creates an awaitable Task that opens an url in a browser and completes when response is intercepted, validated and returns a UrlRedirectResult.

    Declaration
    public override async Task<UrlRedirectResult> OpenUrlAndWaitForRedirectAsync(string url, List<string> awaitedQueryArguments = null)
    Parameters
    Type Name Description
    String url

    The url to open. It must trigger a redirection to the Uri referenced by GetRedirectUri(String).

    List<String> awaitedQueryArguments

    The list of query arguments to validate when receiving the awaited callback url.

    Returns
    Type Description
    Task<UrlRedirectResult>

    A Task that results in a UrlRedirectResult when completed.

    Overrides
    BasePkcePlatformSupport.OpenUrlAndWaitForRedirectAsync(String, List<String>)
    Back to top
    Terms of use
    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