Versions in this module Expand all Collapse all v0 v0.1.1 Nov 12, 2026 v0.1.0 Oct 14, 2026 Changes in this version + const GrantName + const PluginName + var ErrAccessDenied = auth.NewError(errorNamespace + ".access_denied", http.StatusBadRequest, ...) + var ErrAuthorizationPending = auth.NewError(errorNamespace + ".authorization_pending", http.StatusBadRequest, ...) + var ErrExpiredToken = auth.NewError(errorNamespace + ".expired_token", http.StatusBadRequest, ...) + var ErrNoEndpoint = errors.New("oauthdevice: New needs the absolute URL of /device/code") + var ErrSlowDown = auth.NewError(errorNamespace + ".slow_down", http.StatusBadRequest, ...) + type Integration struct + func New(endpoint string) *Integration + func (g *Integration) AuthorizeCode(ctx context.Context, c *auth.Call, in deviceauth.CodeRequest) (deviceauth.Binding, error) + func (g *Integration) Endpoint() string + func (g *Integration) ExtensionGrant() oauthprovider.ExtensionGrant + func (g *Integration) Init(a *auth.Auth) error + func (g *Integration) Name() string + func (g *Integration) Requires() []string + func (g *Integration) Validate(*auth.Config) error