Documentation ¶
Index ¶
Constants ¶
View Source
const APPLE_BASE_URL = "https://appleid.apple.com"
View Source
const AuthType = "apple"
AuthType value for apple
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTTokenBody ¶
type JWTTokenBody struct { Iss string `json:"iss"` Iat int64 `json:"iat"` Exp int64 `json:"exp"` Aud string `json:"aud"` Sub string `json:"sub"` AtHash string `json:"at_hash"` Email string `json:"email"` EmailVerified string `json:"email_verified"` IsPrivateEmail string `json:"is_private_email"` RealUserStatus int64 `json:"real_user_status"` AuthTime int64 `json:"auth_time"` Nonce string `json:"nonce"` }
type JWTTokenHeader ¶
type LoginHandler ¶
type LoginHandler struct { Conf configs.Apple MemberService service.MemberService TokenService service.TokenService }
func (LoginHandler) Handle ¶
func (a LoginHandler) Handle(authorizationCode string, identityToken string) gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.