Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/security / / base64Url

Function: base64Url() ​

ts
function base64Url(data): string;

Defined in: packages/security/src/oauth/pkce.ts:21

Internal

Encode data as URL-safe base64 without padding.

Parameters ​

ParameterType
datastring | Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

Returns ​

string