@modelcontextprotocol/sdk
Version:
Model Context Protocol implementation for TypeScript
22 lines • 473 B
TypeScript
/**
* Information about a validated access token, provided to request handlers.
*/
export interface AuthInfo {
/**
* The access token.
*/
token: string;
/**
* The client ID associated with this token.
*/
clientId: string;
/**
* Scopes associated with this token.
*/
scopes: string[];
/**
* When the token expires (in seconds since epoch).
*/
expiresAt?: number;
}
//# sourceMappingURL=types.d.ts.map