Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var INVALID_PROVIDER_ERROR = fmt.Errorf("INVALID PROVIDER")
Functions ¶
This section is empty.
Types ¶
type EmailClaims ¶
type EmailClaims struct {
Email string `json:"email"`
EmailVerified bool `json:"email_verified"`
jwt.StandardClaims
}
type Login ¶
type Login struct {
AccountId string `json:"account_id"`
Username string `json:"username"`
ExternalUsername string `json:"external_username"`
ExternalEmail string `json:"external_email"`
ExternalEmailVerified bool `json:"external_email_verified"`
Provider Provider `json:"provider"`
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
ExpiresAt time.Time `json:"expires_at"`
}
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func InitValidator ¶
Click to show internal directories.
Click to hide internal directories.