Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOAuthStateInvalid = xerror.New(xerror.KindInvalidInput, "OAUTH_STATE_INVALID", "oauth state invalid") ErrOAuthStateConsumed = xerror.New(xerror.KindInvalidInput, "OAUTH_STATE_CONSUMED", "oauth state consumed") ErrOAuthStateExpired = xerror.New(xerror.KindInvalidInput, "OAUTH_STATE_EXPIRED", "oauth state expired") )
Functions ¶
func RandomState ¶
RandomState returns a cryptographically random browser-safe OAuth state.
Types ¶
type ProviderError ¶
func (ProviderError) Error ¶
func (e ProviderError) Error() string
Click to show internal directories.
Click to hide internal directories.