Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetUserVerifier ¶
GetUserVerifier tries to fetch the userinfo of a user to verify the validity of a token.
It performs an http request for every attempt to validate the token. If the request fails, either the token is invalid, or there is a problem with the API backend.
Types ¶
type GetUserVerifier ¶
type GetUserVerifier struct {
// contains filtered or unexported fields
}
func (*GetUserVerifier) Scopes ¶
func (guv *GetUserVerifier) Scopes() []string
Click to show internal directories.
Click to hide internal directories.