UNPKG

lbx-jwt

Version:

Provides JWT authentication for loopback applications. Includes storing roles inside tokens and handling refreshing. Built-in reuse detection.

13 lines (12 loc) 461 B
/** * Encapsulates functionality of the hi-base32 package. */ export declare abstract class HiBase32Utilities { /** * Encode the given input to a base32 string. * @param input - The input you want to encode. * @param asciiOnly - Treat string as ASCII or UTF-8 string. Default is false. * @returns The encoded base32 string. */ static encode(input: string | number[] | ArrayBuffer | Uint8Array, asciiOnly?: boolean): string; }