Documentation
¶
Index ¶
Constants ¶
View Source
const ( LOGIN_COOKIE_SUFFIX = "auth_state" DEFAULT_COOKIE_EXPIRATION = 365 * 24 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
func GenerateStateOauthCookie ¶
func GenerateStateOauthCookie(client adapters.OAuth2Provider, cookieExpiration time.Duration, w http.ResponseWriter) string
func GetCookieName ¶
func GetCookieName(client adapters.OAuth2Provider) string
Types ¶
type OAuth2Url ¶
type OAuth2Url struct {
// contains filtered or unexported fields
}
func NewOAuth2Url ¶
Click to show internal directories.
Click to hide internal directories.