Documentation ¶
Overview ¶
+gengo:operator:register=R +gengo:operator:tag=auth
Package auth GENERATED BY gengo:operator DON'T EDIT THIS FILE
Package auth GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var R = courier.NewRouter()
Functions ¶
This section is empty.
Types ¶
type Authorize ¶
type Authorize struct { courierhttp.MethodGet `path:"/auth-providers/:name/authorize"` ProviderName string `name:"name" in:"path"` State string `name:"state,omitempty" in:"query"` }
func (*Authorize) ResponseErrors ¶
type ExchangeToken ¶
type ExchangeToken struct { courierhttp.MethodPost `path:"/auth-providers/:name/token"` AuthProviderName string `name:"name" in:"path"` ExchangeTokenData `in:"body"` }
func (*ExchangeToken) ResponseContent ¶
func (*ExchangeToken) ResponseContent() any
func (ExchangeToken) RuntimeDoc ¶
func (v ExchangeToken) RuntimeDoc(names ...string) ([]string, bool)
type ExchangeTokenData ¶
type ExchangeTokenData struct {
Code string `json:"code"`
}
func (ExchangeTokenData) RuntimeDoc ¶
func (v ExchangeTokenData) RuntimeDoc(names ...string) ([]string, bool)
type ListAuthProvider ¶
type ListAuthProvider struct {
courierhttp.MethodGet `path:"/auth-providers"`
}
func (*ListAuthProvider) Output ¶
func (p *ListAuthProvider) Output(ctx context.Context) (any, error)
func (*ListAuthProvider) ResponseContent ¶
func (*ListAuthProvider) ResponseContent() any
func (ListAuthProvider) RuntimeDoc ¶
func (v ListAuthProvider) RuntimeDoc(names ...string) ([]string, bool)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.