Documentation ¶
Index ¶
Constants ¶
View Source
const Name string = "classic"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassicOAuth ¶
type ClassicOAuth struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg config.OAuthConfig) *ClassicOAuth
func (*ClassicOAuth) Config ¶
func (c *ClassicOAuth) Config() *oauth2.Config
func (ClassicOAuth) GenerateStateOauthCookie ¶
func (ClassicOAuth) GenerateStateOauthCookie(http.ResponseWriter) string
func (*ClassicOAuth) GetUserData ¶
func (c *ClassicOAuth) GetUserData(string) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.