docs.unity3d.com
Search Results for

    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.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Identity
    Assembly: Unity.Cloud.Identity.dll
    Syntax
    public class CompositeAuthenticatorSettingsBuilder

    Constructors

    CompositeAuthenticatorSettingsBuilder(IHttpClient, IAuthenticationPlatformSupport, IServiceHostResolver)

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

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

    An Unity.Cloud.Common.IHttpClient instance.

    IAuthenticationPlatformSupport authenticationPlatformSupport

    An IAuthenticationPlatformSupport instance.

    IServiceHostResolver serviceHostResolver

    An Unity.Cloud.Common.IServiceHostResolver instance.

    CompositeAuthenticatorSettingsBuilder(IHttpClient, IAuthenticationPlatformSupport, IServiceHostResolver, IAppIdProvider)

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

    Declaration
    public CompositeAuthenticatorSettingsBuilder(IHttpClient httpClient, IAuthenticationPlatformSupport authenticationPlatformSupport, IServiceHostResolver serviceHostResolver, IAppIdProvider appIdProvider)
    Parameters
    Type Name Description
    IHttpClient httpClient

    An Unity.Cloud.Common.IHttpClient instance.

    IAuthenticationPlatformSupport authenticationPlatformSupport

    An IAuthenticationPlatformSupport instance.

    IServiceHostResolver serviceHostResolver

    An Unity.Cloud.Common.IServiceHostResolver instance.

    IAppIdProvider appIdProvider

    An Unity.Cloud.Common.IAppIdProvider instance.

    Methods

    AddAuthenticator(IAuthenticator)

    Adds any IAuthenticator to the list of IAuthenticator.

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

    An IAuthenticator instance.

    Returns
    Type Description
    CompositeAuthenticatorSettingsBuilder

    The modified CompositeAuthenticatorSettingsBuilder.

    AddDefaultBrowserAuthenticatedAccessTokenProvider(IAppNamespaceProvider, Dictionary<string, string>)

    Adds a default BrowserAuthenticatedAccessTokenProvider to the list of IAuthenticator.

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

    An Unity.Cloud.Common.IAppNamespaceProvider instance.

    Dictionary<string, string> localStorageKeyNames

    An optional Dictionary to define, per hosted domain, what key name to look for an access token in local storage of the browser.

    Returns
    Type Description
    CompositeAuthenticatorSettingsBuilder

    The modified CompositeAuthenticatorSettingsBuilder.

    AddDefaultPkceAuthenticator(IAppNamespaceProvider)

    Adds a default PkceAuthenticator to the list of IAuthenticator.

    Declaration
    public CompositeAuthenticatorSettingsBuilder AddDefaultPkceAuthenticator(IAppNamespaceProvider appNamespaceProvider)
    Parameters
    Type Name Description
    IAppNamespaceProvider appNamespaceProvider

    An Unity.Cloud.Common.IAppNamespaceProvider instance.

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)