Documentation ¶
Index ¶
Constants ¶
View Source
const OAuthStateLength = 64
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service provides HTTP handlers for the Auth service.
func (Service) HandleLogin ¶
HandleLogin creates an OAuth 2.0 code url and redirects the client.
func (Service) HandleOAuth ¶
HandleOAuth authorizes users after being redirected from the OAuth consent screen with an access code.
Click to show internal directories.
Click to hide internal directories.