Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExchangeToken ¶
func ExchangeToken() gin.HandlerFunc
@Summary Exchange token for a new resigned token @Schemes @Description Exchange a token for a new resigned token to access a cluster @Tags token @Accept application/json @Produce application/json @Success 200 {object} string @Failure 403 {object} rorerror.ErrorData @Failure 400 {object} rorerror.ErrorData @Failure 401 {object} rorerror.ErrorData @Failure 500 {object} rorerror.ErrorData @Router /v2/token/exchange [post] @Param token body ExchangeTokenRequest true "token to exchange" @Security ApiKey || AccessToken
func GetJwks ¶
func GetJwks() gin.HandlerFunc
@Summary Get JWKS @Schemes @Description Get JWKS for token verification @Tags token @Accept application/json @Produce application/json @Success 200 {object} interface{} @Failure 500 {object} rorerror.ErrorData @Router /v2/token/jwks [get]