Versions in this module Expand all Collapse all v3 v3.6.3 Oct 20, 2023 Changes in this version + type APIKeyScheme struct + Name string + RequiredScopes []string + Scopes []string + func (s *APIKeyScheme) Validate(scopes []string) error + type AuthAPIKeyFunc func(ctx context.Context, key string, s *APIKeyScheme) (context.Context, error) + type AuthBasicFunc func(ctx context.Context, user, pass string, s *BasicScheme) (context.Context, error) + type AuthJWTFunc func(ctx context.Context, token string, s *JWTScheme) (context.Context, error) + type AuthOAuth2Func func(ctx context.Context, token string, s *OAuth2Scheme) (context.Context, error) + type BasicScheme struct + Name string + RequiredScopes []string + Scopes []string + func (s *BasicScheme) Validate(scopes []string) error + type GScope struct + ID interface{} + Parent string + type JWTScheme struct + GScopes []GScope + Name string + RequiredScopes []string + Scopes []string + func (s *JWTScheme) Validate(scopes []string) error + type OAuth2Scheme struct + Flows []*OAuthFlow + Name string + RequiredScopes []string + Scopes []string + func (s *OAuth2Scheme) Validate(scopes []string) error + type OAuthFlow struct + AuthorizationURL string + RefreshURL string + TokenURL string + Type string Other modules containing this package github.com/mtal3t/goa