live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/auth-core


@orangecheck/auth-core / parsePublicJwk

Function: parsePublicJwk()

function parsePublicJwk(publicJwk: string): Record<string, unknown>;

Defined in: src/index.ts:135

Parse the OC_AUTH_PUBLIC_JWK env var back into a JWK object.

Parameters

ParameterType
publicJwkstring

Returns

Record&lt;string, unknown>