Expand description
PKCE code verifier lengths.
As per the standard, the length
of the code verifier must be at least 43 and at most 128.
This module provides the Length type, representing the actual length of the code verifier.
The Length type internally stores usize values, which are guaranteed to be in the range
from MIN to MAX inclusively, defaulting to DEFAULT.
use pkce_std::length::Length;
let length = Length::new(128);Structs§
Enums§
- Parse
Error - Represents sources of errors that can occur when parsing
Lengthvalues.