struct

Authly::CodeChallengeBuilder::S256

Inherits Struct < Value < Object

Constructors

new(code : String)
Source

Instance methods

clone
Source
code
copy_with(code _code = @code)
Source
valid?(code_verifier)

RFC 7636 section 4.2: BASE64URL-ENCODE(SHA256(verifier)) without padding. The padded standard base64 this library used to expect is still accepted, so clients written against it keep working.

Source