Documentation
¶
Index ¶
- Constants
- type Apple
- func (p Apple) GetAuthorizationURL(ctx context.Context, deps oauthrelyingparty.Dependencies, ...) (string, error)
- func (Apple) GetJSONSchema() map[string]interface{}
- func (p Apple) GetUserProfile(ctx context.Context, deps oauthrelyingparty.Dependencies, ...) (authInfo oauthrelyingparty.UserProfile, err error)
- func (Apple) ProviderID(cfg oauthrelyingparty.ProviderConfig) oauthrelyingparty.ProviderID
- func (Apple) SetDefaults(cfg oauthrelyingparty.ProviderConfig)
- type AuthorizationResponseFormField_user
- type AuthorizationResponseFormField_user_name
- type ProviderConfig
Constants ¶
View Source
const Type = liboauthrelyingparty.TypeApple
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apple ¶
type Apple struct{}
func (Apple) GetAuthorizationURL ¶
func (p Apple) GetAuthorizationURL(ctx context.Context, deps oauthrelyingparty.Dependencies, param oauthrelyingparty.GetAuthorizationURLOptions) (string, error)
func (Apple) GetJSONSchema ¶
func (Apple) GetUserProfile ¶
func (p Apple) GetUserProfile(ctx context.Context, deps oauthrelyingparty.Dependencies, param oauthrelyingparty.GetUserProfileOptions) (authInfo oauthrelyingparty.UserProfile, err error)
func (Apple) ProviderID ¶
func (Apple) ProviderID(cfg oauthrelyingparty.ProviderConfig) oauthrelyingparty.ProviderID
func (Apple) SetDefaults ¶
func (Apple) SetDefaults(cfg oauthrelyingparty.ProviderConfig)
type AuthorizationResponseFormField_user ¶
type AuthorizationResponseFormField_user struct { Name *AuthorizationResponseFormField_user_name `json:"name,omitempty"` Email string `json:"email,omitempty"` }
AuthorizationResponseUser is a struct for deserializating The "user" form field. https://developer.apple.com/documentation/sign_in_with_apple/incorporating-sign-in-with-apple-into-other-platforms#Handle-the-response
type ProviderConfig ¶
type ProviderConfig oauthrelyingparty.ProviderConfig
func (ProviderConfig) KeyID ¶
func (c ProviderConfig) KeyID() string
func (ProviderConfig) TeamID ¶
func (c ProviderConfig) TeamID() string
Click to show internal directories.
Click to hide internal directories.