Interface IUGCAuthApi
Represents a collection of functions to interact with the API endpoints
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 |