V2Alpha1.PlayerAuthService.PlayerAuthServiceClient Class

Namespace: Improbable.SpatialOS.PlayerAuth

Client for PlayerAuthService

Inheritance

grpc::ClientBase<PlayerAuthServiceClient>


Constructors

PlayerAuthServiceClient
PlayerAuthServiceClient(grpc::Channel channel)

Creates a new client for PlayerAuthService

Parameters
  • grpc::Channel channel : The channel to use to make remote calls.

PlayerAuthServiceClient
PlayerAuthServiceClient(grpc::CallInvoker callInvoker)

Creates a new client for PlayerAuthService that uses a custom CallInvoker.

Parameters
  • grpc::CallInvoker callInvoker : The callInvoker to use to make remote calls.

PlayerAuthServiceClient
PlayerAuthServiceClient()

Protected parameterless constructor to allow creation of test doubles.

PlayerAuthServiceClient
PlayerAuthServiceClient(ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameters
  • ClientBaseConfiguration configuration : The client configuration.


Methods

CreateLoginToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenResponse CreateLoginToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a LoginToken (LT) for a given user, project and deployment.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • This grants the user access to a given deployment.

CreateLoginToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenResponse CreateLoginToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenRequest request, grpc::CallOptions options)

Creates a LoginToken (LT) for a given user, project and deployment.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • This grants the user access to a given deployment.

CreateLoginTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenResponse> CreateLoginTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a LoginToken (LT) for a given user, project and deployment.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • This grants the user access to a given deployment.

CreateLoginTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenResponse> CreateLoginTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenRequest request, grpc::CallOptions options)

Creates a LoginToken (LT) for a given user, project and deployment.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateLoginTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • This grants the user access to a given deployment.

CreatePlayerIdentityToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenResponse CreatePlayerIdentityToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a PlayerIdentityToken (PIT) for a given user and project.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • This identifies players in the context of a project and provider.
  • Invalid fields result in an InvalidArgument error. See the CreatePlayerIdentityTokenRequest message for details of what is valid for each field.

CreatePlayerIdentityToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenResponse CreatePlayerIdentityToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenRequest request, grpc::CallOptions options)

Creates a PlayerIdentityToken (PIT) for a given user and project.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • This identifies players in the context of a project and provider.
  • Invalid fields result in an InvalidArgument error. See the CreatePlayerIdentityTokenRequest message for details of what is valid for each field.

CreatePlayerIdentityTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenResponse> CreatePlayerIdentityTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a PlayerIdentityToken (PIT) for a given user and project.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • This identifies players in the context of a project and provider.
  • Invalid fields result in an InvalidArgument error. See the CreatePlayerIdentityTokenRequest message for details of what is valid for each field.

CreatePlayerIdentityTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenResponse> CreatePlayerIdentityTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenRequest request, grpc::CallOptions options)

Creates a PlayerIdentityToken (PIT) for a given user and project.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreatePlayerIdentityTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • This identifies players in the context of a project and provider.
  • Invalid fields result in an InvalidArgument error. See the CreatePlayerIdentityTokenRequest message for details of what is valid for each field.

DecodePlayerIdentityToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenResponse DecodePlayerIdentityToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Decodes a PlayerIdentityToken (PIT).

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • Tokens that cannot be verified result in an InvalidArgument error.

DecodePlayerIdentityToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenResponse DecodePlayerIdentityToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenRequest request, grpc::CallOptions options)

Decodes a PlayerIdentityToken (PIT).

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • Tokens that cannot be verified result in an InvalidArgument error.

DecodePlayerIdentityTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenResponse> DecodePlayerIdentityTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Decodes a PlayerIdentityToken (PIT).

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • Tokens that cannot be verified result in an InvalidArgument error.

DecodePlayerIdentityTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenResponse> DecodePlayerIdentityTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenRequest request, grpc::CallOptions options)

Decodes a PlayerIdentityToken (PIT).

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.DecodePlayerIdentityTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • Tokens that cannot be verified result in an InvalidArgument error.

CreateDevelopmentAuthenticationToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenResponse CreateDevelopmentAuthenticationToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a DevelopmentAuthenticationToken (DAT) for a given project.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

CreateDevelopmentAuthenticationToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenResponse CreateDevelopmentAuthenticationToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenRequest request, grpc::CallOptions options)

Creates a DevelopmentAuthenticationToken (DAT) for a given project.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

CreateDevelopmentAuthenticationTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenResponse> CreateDevelopmentAuthenticationTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a DevelopmentAuthenticationToken (DAT) for a given project.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

CreateDevelopmentAuthenticationTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenResponse> CreateDevelopmentAuthenticationTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenRequest request, grpc::CallOptions options)

Creates a DevelopmentAuthenticationToken (DAT) for a given project.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.CreateDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

GetDevelopmentAuthenticationToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenResponse GetDevelopmentAuthenticationToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a DAT given its ID.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • This endpoint returns a NotFound error in case the DAT could not be found.

GetDevelopmentAuthenticationToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenResponse GetDevelopmentAuthenticationToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenRequest request, grpc::CallOptions options)

Get a DAT given its ID.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • This endpoint returns a NotFound error in case the DAT could not be found.

GetDevelopmentAuthenticationTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenResponse> GetDevelopmentAuthenticationTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Get a DAT given its ID.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • This endpoint returns a NotFound error in case the DAT could not be found.

GetDevelopmentAuthenticationTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenResponse> GetDevelopmentAuthenticationTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenRequest request, grpc::CallOptions options)

Get a DAT given its ID.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.GetDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • This endpoint returns a NotFound error in case the DAT could not be found.

ListDevelopmentAuthenticationTokens
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensResponse ListDevelopmentAuthenticationTokens(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists DATs associated with a project.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

ListDevelopmentAuthenticationTokens
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensResponse ListDevelopmentAuthenticationTokens(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensRequest request, grpc::CallOptions options)

Lists DATs associated with a project.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

ListDevelopmentAuthenticationTokensAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensResponse> ListDevelopmentAuthenticationTokensAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists DATs associated with a project.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

ListDevelopmentAuthenticationTokensAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensResponse> ListDevelopmentAuthenticationTokensAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensRequest request, grpc::CallOptions options)

Lists DATs associated with a project.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ListDevelopmentAuthenticationTokensRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

UpdateDevelopmentAuthenticationToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenResponse UpdateDevelopmentAuthenticationToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates the description and the validity period of a DAT.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • You can use this endpoint to both extend the validity period of valid DATs and renew expired DATs.

UpdateDevelopmentAuthenticationToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenResponse UpdateDevelopmentAuthenticationToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenRequest request, grpc::CallOptions options)

Updates the description and the validity period of a DAT.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • You can use this endpoint to both extend the validity period of valid DATs and renew expired DATs.

UpdateDevelopmentAuthenticationTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenResponse> UpdateDevelopmentAuthenticationTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates the description and the validity period of a DAT.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • You can use this endpoint to both extend the validity period of valid DATs and renew expired DATs.

UpdateDevelopmentAuthenticationTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenResponse> UpdateDevelopmentAuthenticationTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenRequest request, grpc::CallOptions options)

Updates the description and the validity period of a DAT.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.UpdateDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • You can use this endpoint to both extend the validity period of valid DATs and renew expired DATs.

ExpireDevelopmentAuthenticationToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenResponse ExpireDevelopmentAuthenticationToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Immediately expires a DAT thereby revoking its validity.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • You can undo this operation by extending the lifetime of an expired DAT using the UpdateDevelopmentAuthenticationToken endpoint. Expired DATs are permanently deleted after one week.

ExpireDevelopmentAuthenticationToken
global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenResponse ExpireDevelopmentAuthenticationToken(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenRequest request, grpc::CallOptions options)

Immediately expires a DAT thereby revoking its validity.

Returns:
The response received from the server.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • You can undo this operation by extending the lifetime of an expired DAT using the UpdateDevelopmentAuthenticationToken endpoint. Expired DATs are permanently deleted after one week.

ExpireDevelopmentAuthenticationTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenResponse> ExpireDevelopmentAuthenticationTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Immediately expires a DAT thereby revoking its validity.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::Metadata headers : The initial metadata to send with the call. This parameter is optional.
  • DateTime? deadline : An optional deadline for the call. The call will be cancelled if deadline is hit.
  • CancellationToken cancellationToken : An optional token for canceling the call.

Notes:
  • You can undo this operation by extending the lifetime of an expired DAT using the UpdateDevelopmentAuthenticationToken endpoint. Expired DATs are permanently deleted after one week.

ExpireDevelopmentAuthenticationTokenAsync
grpc::AsyncUnaryCall<global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenResponse> ExpireDevelopmentAuthenticationTokenAsync(global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenRequest request, grpc::CallOptions options)

Immediately expires a DAT thereby revoking its validity.

Returns:
The call object.

Parameters
  • global::Improbable.SpatialOS.PlayerAuth.V2Alpha1.ExpireDevelopmentAuthenticationTokenRequest request : The request to send to the server.
  • grpc::CallOptions options : The options for the call.

Notes:
  • You can undo this operation by extending the lifetime of an expired DAT using the UpdateDevelopmentAuthenticationToken endpoint. Expired DATs are permanently deleted after one week.


Overrides

NewInstance
override PlayerAuthServiceClient NewInstance(ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameters
  • ClientBaseConfiguration configuration :

Updated about a year ago


V2Alpha1.PlayerAuthService.PlayerAuthServiceClient Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.