Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct { OriginURL string // contains filtered or unexported fields }
func NewAuthenticator ¶
func NewAuthenticator(baseAuthURL, redirectURL, clientID, origin string) (*Authenticator, error)
func (*Authenticator) ExchangeCodeForToken ¶
func (a *Authenticator) ExchangeCodeForToken(code string) (string, error)
func (*Authenticator) GetAuthURL ¶
func (a *Authenticator) GetAuthURL(state string) string
Click to show internal directories.
Click to hide internal directories.