Documentation ¶
Index ¶
- func GetAuthCodeOptions() (challenge, challengeMethod, verifier oauth2.AuthCodeOption, err error)
- func GetConfig(ctx context.Context, hostName, clientID, clientSecret, callbackURL string, ...) (oauth2.Config, error)
- func GetLoginURL(config oauth2.Config, state string, options ...oauth2.AuthCodeOption) string
- func GetTokenSourceProvider(ctx context.Context, config oauth2.Config, timeout time.Duration) (*tokenSourceProvider, error)
- func NewAuthenticator(hostName string, timeout time.Duration) (auth.Authenticator, error)
- type ActionLink
- type SimplePage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthCodeOptions ¶
func GetAuthCodeOptions() (challenge, challengeMethod, verifier oauth2.AuthCodeOption, err error)
func GetLoginURL ¶
func GetTokenSourceProvider ¶
func NewAuthenticator ¶
Types ¶
type ActionLink ¶
type SimplePage ¶
type SimplePage struct { Title string Heading string Content string Action ActionLink Code string }
Click to show internal directories.
Click to hide internal directories.