MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / rawClientSecretBasic

Function rawClientSecretBasic

packages/core/sdk/src/oauth-helpers.ts:982–985  ·  view source on GitHub ↗
(clientSecret: string)

Source from the content-addressed store, hash-verified

980
981const rawClientSecretBasic =
982 (clientSecret: string): oauth.ClientAuth =>
983 (_authorizationServer, client, _body, headers) => {
984 headers.set("authorization", `Basic ${base64BasicCredentials(client.client_id, clientSecret)}`);
985 };
986
987const pickClientAuth = (
988 clientSecret: string | null | undefined,

Callers 1

pickClientAuthFunction · 0.85

Calls 2

base64BasicCredentialsFunction · 0.85
setMethod · 0.65

Tested by

no test coverage detected