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 ¶
type ScopesMiddleware struct {
RequiredScopes RequiredScopes
}
ScopesMiddleware contains required scopes for each endpoint
func NewScopesMiddleware ¶
func NewScopesMiddleware(scopes RequiredScopes) *ScopesMiddleware
NewScopesMiddleware return a new scopes middleware
Click to show internal directories.
Click to hide internal directories.