Sites

Menu

CreateLoginTokenRequest Class

Namespace: Improbable.SpatialOS.PlayerAuth.V2Alpha1

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_identity_token is the JWT returned by the 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 .


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()

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums