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

Function rawClientSecretBasic

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

Source from the content-addressed store, hash-verified

960
961const rawClientSecretBasic =
962 (clientSecret: string): oauth.ClientAuth =>
963 (_authorizationServer, client, _body, headers) => {
964 headers.set("authorization", `Basic ${base64BasicCredentials(client.client_id, clientSecret)}`);
965 };
966
967const pickClientAuth = (
968 clientSecret: string | null | undefined,

Callers 1

pickClientAuthFunction · 0.85

Calls 2

base64BasicCredentialsFunction · 0.85
setMethod · 0.65

Tested by

no test coverage detected