Documentation
¶
Index ¶
- type AuthClaims
- type Cache
- type Config
- type ForbiddenHandler
- type Provider
- type Service
- func (s Service) Callback(w http.ResponseWriter, r *http.Request)
- func (s Service) GetUser(ctx context.Context, r *http.Request) (model.User, error)
- func (s Service) Logout(w http.ResponseWriter, r *http.Request)
- func (s Service) OnUnauthorized(w http.ResponseWriter, r *http.Request, err error)
- func (s Service) Register(w http.ResponseWriter, r *http.Request)
- type State
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClaims ¶
type ForbiddenHandler ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (Service) Logout ¶ added in v3.5.0
func (s Service) Logout(w http.ResponseWriter, r *http.Request)
func (Service) OnUnauthorized ¶ added in v3.1.0
Click to show internal directories.
Click to hide internal directories.