docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IUGCAuthApi

    Represents a collection of functions to interact with the API endpoints

    Inherited Members
    IApiAccessor.Configuration
    IApiAccessor.GetBasePath()
    Namespace: Unity.Services.Apis.UGC
    Assembly: solution.dll
    Syntax
    public interface IUGCAuthApi : IApiAccessor

    Methods

    Redirect(string, string, string, CancellationToken)

    Redirect user after authentication and forward state, code and id_token

    Declaration
    ApiOperation Redirect(string state, string code, string idToken, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string state

    State provided by the application, should contain a JSON string with an object having a redirectUrl property

    string code

    Authentication code provided by the authentication provider

    string idToken

    Id token provided by the authentication provider

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation

    The operation

    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)