Sites

Menu

CreateLoginTokenResponse Class

Namespace: Improbable.SpatialOS.PlayerAuth.V2Alpha1

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 supplied in . prvdr: describes system used to authenticate the user. Corresponds to supplied in . 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()

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums