Module chars

Source
Expand description

Characters used in PKCE code verifiers.

As per the standard, code verifiers consist of alphanumeric characters and the following special characters: -, ., _, and ~.

The full character set is ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~.

This module provides the CHARS constant (along with the STRING constant), which contain the aforementioned characters.

Constantsยง

CHARS
The characters used in PKCE code verifiers.
LENGTH
The amount of valid characters in PKCE code verifiers.
STRING
The string representation of CHARS.