Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct { }
Middleware is an oAuth2 authentication middleware
func NewOAuth2Middleware ¶
func NewOAuth2Middleware() *Middleware
NewOAuth2Middleware returns a new oAuth2 middleware
func (*Middleware) GetHandler ¶
func (m *Middleware) GetHandler(metadata middleware.Metadata) (func(h fasthttp.RequestHandler) fasthttp.RequestHandler, error)
GetHandler retruns the HTTP handler provided by the middleware
Click to show internal directories.
Click to hide internal directories.