Function pkce::code_verifier

source ·
pub fn code_verifier(length: usize) -> Vec<u8>
Expand description

Generate a random code verifier.

Arguments

  • length - The desired length in bytes of the code verifier. This value should be between 43 and 128 or else the function will panic.