Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OPENAPI_TAGS = []api.Tag{
{Name: "Device Code Grant", Description: "The device code grant flow"},
}
)
Functions ¶
func NewPostCodeEndpoint ¶
func NewPostCodeEndpoint() endpoint.EndpointHandler
func NewPostTokenEndpoint ¶
func NewPostTokenEndpoint() endpoint.EndpointHandler
Types ¶
type PostCodeEndpoint ¶
https://golang.org/doc/effective_go#embedding
func (PostCodeEndpoint) ServeHTTP ¶
func (ep PostCodeEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PostCodeRequest ¶
type PostCodeResponse ¶
type PostCodeResponse struct { DeviceCode string `` /* 139-byte string literal not displayed */ VerificationUri string `` /* 131-byte string literal not displayed */ UserCode string `json:"user_code" validate:"required" oas-desc:"This is the text the user will enter at the verification uri."` ExpiresIn int `` /* 211-byte string literal not displayed */ Interval int `` /* 150-byte string literal not displayed */ }
type PostTokenEndpoint ¶
https://golang.org/doc/effective_go#embedding
func (PostTokenEndpoint) ServeHTTP ¶
func (ep PostTokenEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PostTokenError ¶
type PostTokenRequest ¶
Click to show internal directories.
Click to hide internal directories.