Documentation ¶
Overview ¶
Package constant contains types and constants used by the uaa package.
Constant Naming Conventions:
The standard naming for a constant is <Constant Type><Enum Name>. The only exception is 'state' types, where the word 'state' is omitted.
For Example:
Constant Type: PackageType Enum Name: Bits Enum Value: "bits" const PackageTypeBits PackageType = "bits" Constant Type: PackageState Enum Name: Expired Enum Value: "EXPIRED" const PackageExpired PackageState = "EXPIRED"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrantType ¶
type GrantType string
GrantType is the type of authentication being used to obtain the token.
const ( // GrantTypeClientCredentials is used for a preconfigured client ID/secret // authentication. GrantTypeClientCredentials GrantType = "client_credentials" // GrantTypePassword is used for user's username/password authentication. GrantTypePassword GrantType = "password" GrantTypeRefreshToken GrantType = "refresh_token" )
Click to show internal directories.
Click to hide internal directories.