Versions in this module Expand all Collapse all v0 v0.5.4 Dec 18, 2023 Changes in this version + var R = courier.NewRouter(courierhttp.Group("/auth")) + type ExchangeToken struct + func (*ExchangeToken) ResponseContent() any + func (*ExchangeToken) ResponseErrors() []error + func (r *ExchangeToken) EndpointRole() string + func (r *ExchangeToken) Output(ctx context.Context) (any, error) + func (v ExchangeToken) RuntimeDoc(names ...string) ([]string, bool) + type ExchangeTokenAlias struct + Authorization string + func (*ExchangeTokenAlias) ResponseContent() any + func (*ExchangeTokenAlias) ResponseErrors() []error + func (a *ExchangeTokenAlias) Output(ctx context.Context) (any, error) + func (v ExchangeTokenAlias) RuntimeDoc(names ...string) ([]string, bool) + type Qrcode struct + func (*Qrcode) ResponseContent() any + func (r *Qrcode) Output(ctx context.Context) (any, error) + func (v Qrcode) RuntimeDoc(names ...string) ([]string, bool) + type TokenExchanger struct + ClientID string + GrantType string + RefreshToken string + Scope string + func (ex *TokenExchanger) Exchange(ctx context.Context, ax *agent.Agent) (any, error) + func (v TokenExchanger) RuntimeDoc(names ...string) ([]string, bool)