@Summary Revoke OAuth2 tokens (RFC 7009). @ID oauth2-token-revocation @Accept x-www-form-urlencoded @Tags Enterprise @Param client_id formData string true "Client ID for authentication" @Param token formData string true "The token to revoke" @Param token_type_hint formData string false "Hint about t
()
| 170 | // @Success 200 "Token successfully revoked" |
| 171 | // @Router /oauth2/revoke [post] |
| 172 | func (api *API) revokeOAuth2Token() http.HandlerFunc { |
| 173 | return oauth2provider.RevokeToken(api.Database, api.Logger) |
| 174 | } |
| 175 | |
| 176 | // @Summary OAuth2 authorization server metadata. |
| 177 | // @ID oauth2-authorization-server-metadata |