Documentation ¶
Index ¶
- Variables
- func CallGetTokenEndpoint(state string) error
- func CallLoginEndpoint() (string, error)
- func CallLogoutEndpoint() error
- func CallRefreshToken(token string) error
- func Login(onError func(error) error) error
- func WriteIDToken(token string) error
- type Auth0Authorizer
- type Credentials
- type LoginInfo
- type LoginResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoCredentialsFile = errors.New("no local credentials file") ErrEmailUnverified = errors.New("login email hasn't been verified") )
Functions ¶
func CallGetTokenEndpoint ¶
func CallLoginEndpoint ¶
func CallLogoutEndpoint ¶
func CallLogoutEndpoint() error
func CallRefreshToken ¶
func WriteIDToken ¶
Types ¶
type Auth0Authorizer ¶
type Auth0Authorizer struct{}
func (Auth0Authorizer) Authorize ¶
func (s Auth0Authorizer) Authorize() (LoginInfo, error)
type Credentials ¶
func GetIDToken ¶
func GetIDToken() (*Credentials, error)
type LoginResponse ¶
Click to show internal directories.
Click to hide internal directories.