Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequiredScopes ¶
RequiredScopes defines the scope each endpoint requires
type ScopesMiddleware
deprecated
type ScopesMiddleware struct {
RequiredScopes RequiredScopes
}
Deprecated: ScopesMiddleware contains required scopes for each endpoint - For generated APIs use the generated AuthenticationBackend with oauth2.Authorizer and set a Scope
func NewScopesMiddleware
deprecated
func NewScopesMiddleware(scopes RequiredScopes) *ScopesMiddleware
Deprecated: NewScopesMiddleware return a new scopes middleware - For generated APIs use the generated AuthenticationBackend with oauth2.Authorizer and set a scope
Click to show internal directories.
Click to hide internal directories.