credentialHeader
@forge/monorepo / backend/src / credentialHeader
Function: credentialHeader()
credentialHeader(
credential): readonly [string,string]
Defined in: backend/src/tools/credentials.ts:250
The Authorization-style header a credential presents as.
One function, so twenty toolkits do not each write their own base64 and get the padding wrong. Returns the
header name and value, because custom-header does not use Authorization.
Parameters
credential
Returns
readonly [string, string]