Sites

Menu

DevelopmentAuthenticationToken Class

Namespace: Improbable.SpatialOS.PlayerAuth.V2Alpha1

You can exchange a (DAT) for an anonymous (PIT) using the (DAS) to join a deployment anonymously. DATs are intended to be used during the early stage of game development and can be hardcoded into game clients.

Inheritance

pb::IMessage<DevelopmentAuthenticationToken>


Const Fields

IdFieldNumber
const int IdFieldNumber = 1

Field number for the "id" field.
ProjectNameFieldNumber
const int ProjectNameFieldNumber = 2

Field number for the "project_name" field.
DescriptionFieldNumber
const int DescriptionFieldNumber = 3

Field number for the "description" field.
CreationTimeFieldNumber
const int CreationTimeFieldNumber = 4

Field number for the "creation_time" field.
ExpirationTimeFieldNumber
const int ExpirationTimeFieldNumber = 5

Field number for the "expiration_time" field.


Static Properties

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

Descriptor
pbr::MessageDescriptor Descriptor { get; }


Properties

Id
string Id { get; set; }

The ID of a DAT. Pass this into requests to a DAS to exchange your DAT for an anonymous PIT.
ProjectName
string ProjectName { get; set; }

The project that the DAT is scoped to.
Description
string Description { get; set; }

A user-specified description for the DAT.

Notes:
  • It cannot be empty and has a maximum length of 200 characters.
CreationTime
global::Google.Protobuf.WellKnownTypes.Timestamp CreationTime { get; set; }

Creation time of the DAT.
ExpirationTime
global::Google.Protobuf.WellKnownTypes.Timestamp ExpirationTime { get; set; }

Expiration time of the DAT.

Notes:
  • The expiration time can be extended using the endpoint. Expired DATs are permanently deleted after one week.


Constructors

DevelopmentAuthenticationToken
DevelopmentAuthenticationToken()

DevelopmentAuthenticationToken
DevelopmentAuthenticationToken(DevelopmentAuthenticationToken other)

Parameters


Methods

Clone
DevelopmentAuthenticationToken Clone()

Equals
bool Equals(DevelopmentAuthenticationToken other)

Parameters
WriteTo
void WriteTo(pb::CodedOutputStream output)

Parameters
  • pb::CodedOutputStream output :
CalculateSize
int CalculateSize()

MergeFrom
void MergeFrom(DevelopmentAuthenticationToken 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