Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalProviderFlow ¶ added in v0.0.13
type ExternalProviderFlow struct{}
type OAuthRegistrationResponse ¶ added in v0.0.7
type OAuthRegistrationResponse struct { ID string `json:"id"` Email string `json:"email"` EmailVerified bool `json:"emailVerified"` FirstName string `json:"firstName" bson:"firstName"` LastName string `json:"lastName" bson:"lastName"` DisplayName string `json:"displayName" bson:"displayName"` Roles []models.UserRole `json:"roles" bson:"roles"` Claims []models.UserClaim `json:"claims" bson:"claims"` }
type PasswordGrantFlow ¶
type PasswordGrantFlow struct{}
func (PasswordGrantFlow) Authenticate ¶
func (passwordGrantFlow PasswordGrantFlow) Authenticate(request *models.OAuthLoginRequest) (*models.OAuthLoginResponse, *models.OAuthErrorResponse)
func (PasswordGrantFlow) RefreshToken ¶
func (passwordGrantFlow PasswordGrantFlow) RefreshToken(request *models.OAuthLoginRequest) (*models.OAuthLoginResponse, *models.OAuthErrorResponse)
Click to show internal directories.
Click to hide internal directories.