Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAuthTimeout = fmt.Errorf(message.AuthenticationTimedOut) ErrNilAuthConfig = stacktrace.NewError("oauthConfig can't be nil") )
Functions ¶
This section is empty.
Types ¶
type AuthenticateUserOption ¶
type AuthenticateUserOption func(*AuthenticateUserFuncConfig) error
func WithAuthCallHTTPParams ¶
func WithAuthCallHTTPParams(values url.Values) AuthenticateUserOption
type AuthorizedClient ¶
func AuthenticateUser ¶
func AuthenticateUser(oauthConfig *oauth2.Config, options ...AuthenticateUserOption) (*AuthorizedClient, error)
AuthenticateUser starts the login process
Click to show internal directories.
Click to hide internal directories.