docs.unity3d.com
    Show / Hide Table of Contents

    Class CompositeAuthenticatorSettingsBuilder

    Creates a CompositeAuthenticatorSettingsBuilder that builds a CompositeAuthenticatorSettings to inject into the CompositeAuthenticator.

    Inheritance
    Object
    CompositeAuthenticatorSettingsBuilder
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Identity
    Syntax
    public class CompositeAuthenticatorSettingsBuilder

    Constructors

    CompositeAuthenticatorSettingsBuilder(IHttpClient, IAuthenticationPlatformSupport)

    Creates a CompositeAuthenticatorSettingsBuilder that builds a CompositeAuthenticatorSettings to inject into the CompositeAuthenticator.

    Declaration
    public CompositeAuthenticatorSettingsBuilder(IHttpClient httpClient, IAuthenticationPlatformSupport authenticationPlatformSupport)
    Parameters
    Type Name Description
    IHttpClient httpClient
    IAuthenticationPlatformSupport authenticationPlatformSupport

    Methods

    AddAuthenticator(IAuthenticator)

    Adds any IAuthenticator to the list of IAuthenticator.

    Declaration
    public CompositeAuthenticatorSettingsBuilder AddAuthenticator(IAuthenticator authenticator)
    Parameters
    Type Name Description
    IAuthenticator authenticator
    Returns
    Type Description
    CompositeAuthenticatorSettingsBuilder

    The modified CompositeAuthenticatorSettingsBuilder.

    AddDefaultBrowserAuthenticatedAccessTokenProvider(Dictionary<String, String>)

    Adds a default BrowserAuthenticatedAccessTokenProvider to the list of IAuthenticator.

    Declaration
    public CompositeAuthenticatorSettingsBuilder AddDefaultBrowserAuthenticatedAccessTokenProvider(Dictionary<string, string> localStorageKeyNames = null)
    Parameters
    Type Name Description
    Dictionary<String, String> localStorageKeyNames
    Returns
    Type Description
    CompositeAuthenticatorSettingsBuilder

    The modified CompositeAuthenticatorSettingsBuilder.

    AddDefaultPersonalAccessTokenProvider()

    Adds a default PersonalAccessTokenProvider to the list of IAuthenticator.

    Declaration
    public CompositeAuthenticatorSettingsBuilder AddDefaultPersonalAccessTokenProvider()
    Returns
    Type Description
    CompositeAuthenticatorSettingsBuilder

    The modified CompositeAuthenticatorSettingsBuilder.

    AddDefaultPkceAuthenticator(IAppIdProvider, IAppNameProvider)

    Adds a default PkceAuthenticator to the list of IAuthenticator.

    Declaration
    public CompositeAuthenticatorSettingsBuilder AddDefaultPkceAuthenticator(IAppIdProvider appIdProvider, IAppNameProvider appNameProvider)
    Parameters
    Type Name Description
    IAppIdProvider appIdProvider
    IAppNameProvider appNameProvider
    Returns
    Type Description
    CompositeAuthenticatorSettingsBuilder

    The modified CompositeAuthenticatorSettingsBuilder.

    Build()

    Builds the CompositeAuthenticatorSettings to inject into the CompositeAuthenticator.

    Declaration
    public CompositeAuthenticatorSettings Build()
    Returns
    Type Description
    CompositeAuthenticatorSettings

    The CompositeAuthenticatorSettings.

    Back to top
    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