Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationResponse ¶
type AuthenticationResponse struct { Birthdate string `json:"birthdate,omitempty"` Email string `json:"email,omitempty"` EmailVerified bool `json:"email_verified,omitempty"` FamilyName string `json:"family_name,omitempty"` Gender string `json:"gender,omitempty"` GivenName string `json:"given_name,omitempty"` Locale string `json:"locale,omitempty"` MiddleName string `json:"middle_name,omitempty"` Name string `json:"name,omitempty"` Nickname string `json:"nickname,omitempty"` PhoneNumber string `json:"phone_number,omitempty"` PhoneNumberVerified bool `json:"phone_number_verified,omitempty"` Picture string `json:"picture,omitempty"` PreferredUsername string `json:"preferred_username,omitempty"` Profile string `json:"profile,omitempty"` Sub string `json:"sub,omitempty"` UpdatedAt int64 `json:"updated_at,omitempty"` Website string `json:"website,omitempty"` Zoneinfo string `json:"zoneinfo,omitempty"` }
type Authenticator ¶
type Authenticator interface {
Authenticate(req *http.Request) (AuthenticationResponse, error)
}
func NewHydraAuthenticator ¶
func NewHydraAuthenticator(hydraPublic public.ClientService) Authenticator
Click to show internal directories.
Click to hide internal directories.