Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArmoryCloudPrincipalMetadata ¶ added in v0.1.5
type AuthErrorResponse ¶ added in v0.1.5
type AuthSuccessfulResponse ¶ added in v0.1.5
type AuthSuccessfulResponse struct {
// AccessToken Encoded JWT / Bearer Token
AccessToken string `json:"access_token"`
// SecondsUtilTokenExpires the number of seconds until the JWT expires, from when it was created by the Auth Server.
// The JWT has the exact expiration date time
SecondsUtilTokenExpires int `json:"expires_in"`
}
type DeviceTokenData ¶ added in v0.1.5
type Jwt ¶ added in v0.1.5
type Jwt struct {
PrincipalMetadata *ArmoryCloudPrincipalMetadata `json:"https://cloud.armory.io/principal"`
ExpiresAt int64 `json:"exp"`
}
Click to show internal directories.
Click to hide internal directories.