Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is the idp.Provider implementation for Apple
type Session ¶
Session extends the oidc.Session with the formValues returned from the callback. This enables to parse the user (name and email), which Apple only returns as form params on registration
func (*Session) FetchUser ¶
FetchUser implements the idp.Session interface. It will execute an OIDC code exchange if needed to retrieve the tokens, extract the information from the id_token and if available also from the `user` form value. The information will be mapped into an idp.User.
type User ¶
User extends the oidc.User by returning the email as preferred_username, since Apple does not return the latter.
func (*User) GetPreferredUsername ¶
Click to show internal directories.
Click to hide internal directories.