Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeviceCode ¶
type DeviceCode struct { // The device verification code. DeviceCode string `json:"device_code,omitempty"` // The end-user verification code. UserCode string `json:"user_code"` // The end-user verification URI on the authorization // server. The URI should be short and easy to remember as end users // will be asked to manually type it into their user agent. VerificationUri string `json:"verification_uri"` // A verification URI that includes the "user_code" (or // other information with the same function as the "user_code"), // which is designed for non-textual transmission. VerificationUriComplete string `json:"verification_uri_complete"` // The lifetime in seconds of the "device_code" and "user_code". ExpiresInSec int64 `json:"expires_in"` // The minimum amount of time in seconds that the client // SHOULD wait between polling requests to the token endpoint. If no // value is provided, clients MUST use 5 as the default. IntervalInSec int64 `json:"interval"` }
Click to show internal directories.
Click to hide internal directories.