package oidc

  1. Overview
  2. Docs

Module Pkce.ChallengeSource

Sourcetype t

https://www.rfc-editor.org/rfc/rfc7636#section-4.2

Sourcetype transformation = [
  1. | `S256
  2. | `Plain
]
Sourceval make : Verifier.t -> t

Will always be a S256 challenge https://www.rfc-editor.org/rfc/rfc7636#section-4.2

Sourceval of_string : transformation:transformation -> string -> t
Sourceval to_code_challenge_and_method : t -> string * string

https://www.rfc-editor.org/rfc/rfc7636#section-4.3