Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultTokenValidator ¶
type DefaultTokenValidator struct {
// contains filtered or unexported fields
}
DefaultTokenValidator struct
func NewDefaultTokenValidator ¶
func NewDefaultTokenValidator( tokenSource *oauth.TokenSource, authClient *pbauth.AuthClient, ) (*DefaultTokenValidator, error)
NewDefaultTokenValidator creates a new default token validator
func (*DefaultTokenValidator) IsTokenValid ¶
func (d *DefaultTokenValidator) IsTokenValid( tokenString string, isRefreshToken bool, ) bool
IsTokenValid checks if the token is valid
type TokenValidator ¶
TokenValidator interface
Click to show internal directories.
Click to hide internal directories.