V2Alpha1.CreateLoginTokenRequest Class

Namespace: Improbable.SpatialOS.PlayerAuth

The following fields are mandatory:

Inheritance

pb::IMessage<CreateLoginTokenRequest>

Notes

  • The remaining fields are optional:


Const Fields

PlayerIdentityTokenFieldNumber
const int PlayerIdentityTokenFieldNumber = 1

Field number for the "player_identity_token" field.

DeploymentIdFieldNumber
const int DeploymentIdFieldNumber = 2

Field number for the "deployment_id" field.

LifetimeDurationFieldNumber
const int LifetimeDurationFieldNumber = 3

Field number for the "lifetime_duration" field.

WorkerTypeFieldNumber
const int WorkerTypeFieldNumber = 4

Field number for the "worker_type" field.


Static Properties

Parser
pb::MessageParser<CreateLoginTokenRequest> Parser { get; }


Descriptor
pbr::MessageDescriptor Descriptor { get; }


Properties

PlayerIdentityToken
string PlayerIdentityToken { get; set; }

The player_identitytoken is the JWT returned by the PlayerIdentityTokenService.CreatePlayerIdentityToken RPC

DeploymentId
string DeploymentId { get; set; }

The UUID of the deployment that the user gets access to.

LifetimeDuration
global::Google.Protobuf.WellKnownTypes.Duration LifetimeDuration { get; set; }

Specifies how long the LT is valid for.

Notes:
  • This field is optional. If unset or 0, it defaults to 15 minutes. The maximum value is 30 minutes.

WorkerType
string WorkerType { get; set; }

The worker type you can use to connect to the deployment.

Notes:
  • This field is optional. Leave empty to allow all types of worker. If provided, it must conform to the regex `^$|^[a-zA-Z0-9-]{3,128}$`.


Constructors

CreateLoginTokenRequest
CreateLoginTokenRequest()


CreateLoginTokenRequest
CreateLoginTokenRequest(CreateLoginTokenRequest other)

Parameters


Methods

Clone
CreateLoginTokenRequest Clone()


Equals
bool Equals(CreateLoginTokenRequest other)

Parameters

WriteTo
void WriteTo(pb::CodedOutputStream output)

Parameters
  • pb::CodedOutputStream output :

CalculateSize
int CalculateSize()


MergeFrom
void MergeFrom(CreateLoginTokenRequest other)

Parameters

MergeFrom
void MergeFrom(pb::CodedInputStream input)

Parameters
  • pb::CodedInputStream input :


Overrides

Equals
override bool Equals(object other)

Parameters
  • object other :

GetHashCode
override int GetHashCode()


ToString
override string ToString()

Updated about a year ago


V2Alpha1.CreateLoginTokenRequest Class


Suggested Edits are limited on API Reference Pages

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