/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Request body used by OAuth 2.0 clients to revoke an OAuth 2.0 token. Defined by RFC 7009 Section 2.1 * @export * @interface OAuthTokenRevocationRequest */ export interface OAuthTokenRevocationRequest { /** * The token to revoke * @type {string} * @memberof OAuthTokenRevocationRequest */ token?: string; /** * The type of the token to revoke. * @type {string} * @memberof OAuthTokenRevocationRequest */ token_type_hint?: OAuthTokenRevocationRequestTokenTypeHintEnum; } /** * @export */ export declare const OAuthTokenRevocationRequestTokenTypeHintEnum: { readonly access_token: "access_token"; readonly refresh_token: "refresh_token"; }; export type OAuthTokenRevocationRequestTokenTypeHintEnum = typeof OAuthTokenRevocationRequestTokenTypeHintEnum[keyof typeof OAuthTokenRevocationRequestTokenTypeHintEnum]; /** * Check if a given object implements the OAuthTokenRevocationRequest interface. */ export declare function instanceOfOAuthTokenRevocationRequest(value: object): value is OAuthTokenRevocationRequest; export declare function OAuthTokenRevocationRequestFromJSON(json: any): OAuthTokenRevocationRequest; export declare function OAuthTokenRevocationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthTokenRevocationRequest; export declare function OAuthTokenRevocationRequestToJSON(json: any): OAuthTokenRevocationRequest; export declare function OAuthTokenRevocationRequestToJSONTyped(value?: OAuthTokenRevocationRequest | null, ignoreDiscriminator?: boolean): any;