docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PkceConfiguration

    Contains all information required to perform Proof Key Code Exchange (PKCE) authentication.

    Inheritance
    object
    PkceConfiguration
    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
    [Serializable]
    public class PkceConfiguration

    Fields

    AllowAnonymous

    Boolean value holding the capabilities of the app to support guest user access.

    Declaration
    public bool AllowAnonymous
    Field Value
    Type Description
    bool

    CacheRefreshToken

    Boolean value holding the capabilities of the app to cache the refresh token.

    Declaration
    public bool CacheRefreshToken
    Field Value
    Type Description
    bool
    Remarks

    Caching the refresh token allows to skip authentication and resume a user session when the app is restarted. Set this value to false if your app requires a high security level. User will then be forced to login each time the application is started.

    ClientId

    The unique client identifier as registered with the authentication service.

    Declaration
    public ClientId ClientId
    Field Value
    Type Description
    ClientId

    CustomLoginParams

    The additional custom url formatted parameters to append to the LoginUrl.

    Declaration
    public string CustomLoginParams
    Field Value
    Type Description
    string
    Remarks

    See documentation of your authentication service to learn what additional parameters can be required.

    LoginUrl

    The login page url on the authentication service.

    Declaration
    public string LoginUrl
    Field Value
    Type Description
    string

    LogoutUrl

    The endpoint url on the authentication service to reach to revoke the set of tokens.

    Declaration
    public string LogoutUrl
    Field Value
    Type Description
    string

    ProxyLoginCompletedRoute

    The login completed redirect proxy route.

    Declaration
    public string ProxyLoginCompletedRoute
    Field Value
    Type Description
    string

    ProxyLoginRedirectRoute

    The login redirect proxy route.

    Declaration
    public string ProxyLoginRedirectRoute
    Field Value
    Type Description
    string

    ProxySignOutCompletedRoute

    The sign out completed redirect proxy route.

    Declaration
    public string ProxySignOutCompletedRoute
    Field Value
    Type Description
    string

    RefreshTokenUrl

    The endpoint url on the authentication service to reach to refresh current set of tokens.

    Declaration
    public string RefreshTokenUrl
    Field Value
    Type Description
    string

    SignOutUrl

    The endpoint url on the authentication service to reach to sign out.

    Declaration
    public string SignOutUrl
    Field Value
    Type Description
    string

    TokenUrl

    The endpoint url on the authentication service to reach to exchange returned login code for a valid set of tokens.

    Declaration
    public string TokenUrl
    Field Value
    Type Description
    string

    UserInfoUrl

    The endpoint url on the authentication service to reach to get user information using .

    Declaration
    public string UserInfoUrl
    Field Value
    Type Description
    string

    Methods

    Sanitize()

    This functions can be used after deserialization, to ensure the format is correct.

    Declaration
    public void Sanitize()
    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)