Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleProvider ¶
type GoogleProvider struct {
// contains filtered or unexported fields
}
GoogleProvider implements the OAuthProvider interface for Google OAuth2.
func New ¶
func New(config core.OAuthConfig) *GoogleProvider
New creates a new GoogleProvider with the given OAuth configuration.
func (*GoogleProvider) AuthURL ¶
func (p *GoogleProvider) AuthURL(state string) string
func (*GoogleProvider) Authenticate ¶
func (*GoogleProvider) HandleCallback ¶
func (*GoogleProvider) Name ¶
func (p *GoogleProvider) Name() string
func (*GoogleProvider) ProviderName ¶
func (p *GoogleProvider) ProviderName() string
Click to show internal directories.
Click to hide internal directories.