Sites

Menu

CreateDevelopmentAuthenticationTokenRequest Class

Namespace: Improbable.SpatialOS.PlayerAuth.V2Alpha1

Inheritance

pb::IMessage<CreateDevelopmentAuthenticationTokenRequest>


Const Fields

ProjectNameFieldNumber
const int ProjectNameFieldNumber = 1

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

Field number for the "description" field.
LifetimeFieldNumber
const int LifetimeFieldNumber = 3

Field number for the "lifetime" field.


Static Properties

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

Descriptor
pbr::MessageDescriptor Descriptor { get; }


Properties

ProjectName
string ProjectName { get; set; }

The project that the DAT is scoped to. You must have access to this project.

Notes:
  • This should be between 3 and 32 characters and made up of lower case letters, numbers and underscores only.
Description
string Description { get; set; }

A description for the DAT.

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

The validity period of the DAT starting from the time of this request. This field is optional.

Notes:
  • The maximum value is 90 days. If unset, this field defaults to 30 days.


Constructors

CreateDevelopmentAuthenticationTokenRequest
CreateDevelopmentAuthenticationTokenRequest()

CreateDevelopmentAuthenticationTokenRequest
CreateDevelopmentAuthenticationTokenRequest(CreateDevelopmentAuthenticationTokenRequest other)

Parameters


Methods

Clone
CreateDevelopmentAuthenticationTokenRequest Clone()

Equals
bool Equals(CreateDevelopmentAuthenticationTokenRequest other)

Parameters
WriteTo
void WriteTo(pb::CodedOutputStream output)

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

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