object
open_id_pkce
PKCE and authorization-request helpers for OpenID Connect clients.
Availability:
logtalk_load(open_id(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-07-08
Compilation flags:
static, context_switching_callsRemarks:
(none)
Inherited public predicates:
Public predicates
code_verifier/2
Returns a valid PKCE code verifier, either provided in options or freshly generated.
Compilation flags:
staticTemplate:
code_verifier(Verifier,Options)Mode and number of proofs:
code_verifier(-atom,+list(compound)) - one_or_errorExceptions:
Options is a variable or a partial list:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)An element
Option of the list Options is neither a variable nor a compound term:type_error(compound,Option)An element
Option of the list Options is a compound term but not a valid option:domain_error(option,Option)Verifier is a variable:instantiation_errorVerifier is not a valid PKCE code verifier:domain_error(open_id_code_verifier,Verifier)code_challenge/2
Computes the S256 PKCE code challenge for a code verifier.
Compilation flags:
staticTemplate:
code_challenge(Verifier,Challenge)Mode and number of proofs:
code_challenge(+atom,-atom) - one_or_errorExceptions:
Verifier is a variable:instantiation_errorVerifier is not a valid PKCE code verifier:domain_error(open_id_code_verifier,Verifier)Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)