Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleOAuth2Provider ¶
type GoogleOAuth2Provider struct {
ClientID string
}
Google Implementation
func (*GoogleOAuth2Provider) ValidateToken ¶
func (o *GoogleOAuth2Provider) ValidateToken(token string) (*Payload, error)
type OAuth2Provider ¶
Interface
func NewGoogleOAuth2Provider ¶
func NewGoogleOAuth2Provider(clientID string) OAuth2Provider
Click to show internal directories.
Click to hide internal directories.