Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProfile ¶
func GetProfile(w http.ResponseWriter, r *http.Request)
func RefreshTokenHandler ¶
func RefreshTokenHandler(w http.ResponseWriter, r *http.Request)
*
- API endpoint used to refresh the access token given a valid refresh token
- is inputted by the user.
Types ¶
type TokenRequest ¶
type TokenRequest struct {
RefreshToken string `json:"refresh_token,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.