This is the documentation for v2 — looking for the v1 documentation?
Skip to content

MCP TypeScript SDK (V2) / @modelcontextprotocol/server-legacy / auth/handlers/revoke

auth/handlers/revoke ​

Type Aliases ​

RevocationHandlerOptions ​

RevocationHandlerOptions = object

Defined in: packages/server-legacy/src/auth/handlers/revoke.ts:13

Properties ​

provider ​

provider: OAuthServerProvider

Defined in: packages/server-legacy/src/auth/handlers/revoke.ts:14

rateLimit? ​

optional rateLimit?: Partial<RateLimitOptions> | false

Defined in: packages/server-legacy/src/auth/handlers/revoke.ts:19

Rate limiting configuration for the token revocation endpoint. Set to false to disable rate limiting for this endpoint.

Functions ​

revocationHandler() ​

revocationHandler(__namedParameters): RequestHandler

Defined in: packages/server-legacy/src/auth/handlers/revoke.ts:22

Parameters ​

__namedParameters ​

RevocationHandlerOptions

Returns ​

RequestHandler