Skip to content

TypeScript API / laikacms/core/utilities / Header

Variable: Header ​

ts
const Header: object;

Type Declaration ​

AuthorizationHeaderApiKeyRegex ​

ts
AuthorizationHeaderApiKeyRegex: RegExp;

AuthorizationHeaderBearerRegex ​

ts
AuthorizationHeaderBearerRegex: RegExp;

ExtractAuthorizationApiKey ​

ts
ExtractAuthorizationApiKey: (header) => string | undefined;

Parameters ​

ParameterType
headerstring | null | undefined

Returns ​

string | undefined

ExtractAuthorizationBearerToken ​

ts
ExtractAuthorizationBearerToken: (header) => string | undefined;

Parameters ​

ParameterType
headerstring | null | undefined

Returns ​

string | undefined

Released under the MIT License.