Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouter ¶
func RegisterRouter(r *gin.RouterGroup)
Types ¶
type AuthSuccess ¶
type AuthSuccess struct { AccessToken string `json:"access_token"` ExpiresIn float64 `json:"expires_in"` IDToken string `json:"id_token"` RefreshToken string `json:"refresh_token"` Scope string `json:"scope"` TokenType string `json:"token_type"` }
AuthSuccess get access token
type Profile ¶
type Profile struct { DisplayName string `json:"displayName"` UserID string `json:"userId"` PictureURL string `json:"pictureUrl"` StatusMessage string `json:"statusMessage"` }
Profile Gets a user's display name, profile image, and status message. See: https://developers.line.biz/en/reference/social-api/#get-user-profile
Click to show internal directories.
Click to hide internal directories.