MCPcopy Index your code
hub / github.com/modelcontextprotocol/typescript-sdk / isClientAuthMethod

Function isClientAuthMethod

src/client/auth.ts:244–246  ·  view source on GitHub ↗
(method: string)

Source from the content-addressed store, hash-verified

242type ClientAuthMethod = 'client_secret_basic' | 'client_secret_post' | 'none';
243
244function isClientAuthMethod(method: string): method is ClientAuthMethod {
245 return ['client_secret_basic', 'client_secret_post', 'none'].includes(method);
246}
247
248const AUTHORIZATION_CODE_RESPONSE_TYPE = 'code';
249const AUTHORIZATION_CODE_CHALLENGE_METHOD = 'S256';

Callers 1

selectClientAuthMethodFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…