V2Alpha1.CreateLoginTokenResponse Class

Namespace: Improbable.SpatialOS.PlayerAuth

Inheritance

pb::IMessage<CreateLoginTokenResponse>


Const Fields

LoginTokenFieldNumber
const int LoginTokenFieldNumber = 1

Field number for the "login_token" field.


Static Properties

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


Descriptor
pbr::MessageDescriptor Descriptor { get; }


Properties

LoginToken
string LoginToken { get; set; }

The login_token is a short-lived token (up to 15 minutes), allowing the user to log in to a deployment with the specified name. It is a signed JWT with the following claims: sub: provider-scoped unique user ID. Corresponds to player_identifier supplied in CreatePlayerIdentityTokenRequest. prvdr: describes system used to authenticate the user. Corresponds to provider supplied in CreatePlayerIdentityTokenRequest. prj: project that the token is scoped to. dpl: deployment UUID that the token gives access to. iat: issued at time. This is the time since epoch in seconds in UTC. exp: expiry time. This is the time since epoch in seconds in UTC. wkt: worker type: This is the worker type you can use to connect to the deployment.


Constructors

CreateLoginTokenResponse
CreateLoginTokenResponse()


CreateLoginTokenResponse
CreateLoginTokenResponse(CreateLoginTokenResponse other)

Parameters


Methods

Clone
CreateLoginTokenResponse Clone()


Equals
bool Equals(CreateLoginTokenResponse other)

Parameters

WriteTo
void WriteTo(pb::CodedOutputStream output)

Parameters
  • pb::CodedOutputStream output :

CalculateSize
int CalculateSize()


MergeFrom
void MergeFrom(CreateLoginTokenResponse 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.CreateLoginTokenResponse Class


Suggested Edits are limited on API Reference Pages

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