Namespace: util

util

Classes

Code
Lockable
Logger
Metadata
Modules
Permission
PushMessage
TokenStorage
ValidationResult
Validator

Interfaces

TokenStorageFactory

Methods

atob(input) → {string}

Converts Base64-encoded data to string.

Parameters:
Name Type Description
input string

Base64-encoded data.

Source:
Returns:

Binary-encoded data string.

Type
string

hmac(message, key) → {string}

Calculates a Keyed-Hash Message Authentication Code (HMAC) from a message and a key.

Parameters:
Name Type Description
message string
key string
Source:
Returns:
Type
string

uuid() → {string}

Generates a new Universally Unique Identifier (UUID) version 4.

Source:
Returns:

A generated version 4 UUID.

Type
string