// RefreshToken can be used to refresh a token. The token still needs to be valid on refresh.
// Authorization token that is a form of `Authorization: Bearer <TOKEN>` is supplied
// in a response header.
RefreshToken can be used to refresh a token. The token still needs to be valid on refresh.
Authorization token that is a form of `Authorization: Bearer ` is supplied
in a response header.
// RefreshToken can be used to refresh a token . The token still needs to be valid on refresh . // Authorization token that is a form of ` Authorization : Bearer <TOKEN > ` is supplied // in a response header .
func (a Auth) RefreshToken(c *gin.Context) {
	token, err := a.parseToken(c)
	if handleParseTokenError(c, err) {
		c.Abort()
		return
	}
	a.respondAuthorizationHeader(c, token.Claims.(MapClaims))
}
func ( a Auth ) RefreshToken ( c * gin . Context ) { token , err := a . parseToken ( c ) if handleParseTokenError ( c , err ) { c . Abort ( ) return } a . respondAuthorizationHeader ( c , token . Claims . ( MapClaims ) ) }
RefreshToken can be used to refresh a token.
RefreshToken can be used to refresh a token .