Interface IServiceAuthenticationAdminApi
Represents a collection of functions to interact with the API endpoints
Namespace: Unity.Services.Apis.Admin.ServiceAuthentication
Assembly: Unity.Services.Apis.dll
Syntax
public interface IServiceAuthenticationAdminApi : IApiAccessor
Methods
ExchangeToStateless(string, string, ExchangeRequest, CancellationToken)
Token Exchange API
Declaration
ApiOperation<ExchangeResponse> ExchangeToStateless(string projectId, string environmentId = null, ExchangeRequest exchangeRequest = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | projectId | ID for Unity project that the access token is scoped to. |
| string | environmentId | Id of an environment that the access token is scoped to. (optional) |
| ExchangeRequest | exchangeRequest | (optional) |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation<ExchangeResponse> | The operation |