Versions in this module Expand all Collapse all v0 v0.6.4 Mar 3, 2023 v0.6.3 Mar 2, 2023 Changes in this version + var ErrEmailUnverified = errors.New("login email hasn't been verified") + var ErrNoCredentialsFile = errors.New("no local credentials file") + 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 struct + func (s Auth0Authorizer) Authorize() (LoginInfo, error) + type Credentials struct + IdToken string + RefreshToken string + func GetIDToken() (*Credentials, error) + type LoginInfo struct + Authorizer string + Email string + EmailVerified bool + func Authorize() (LoginInfo, error) + type LoginResponse struct + State string + Url string