category
http_authentication_helpers
Internal shared helpers for HTTP authentication scheme and parameter syntax.
Availability:
logtalk_load(http_core(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-01
Compilation flags:
staticRemarks:
(none)
Inherited public predicates:
(none)
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
authentication_scheme_codes/3
Splits authentication value codes into the scheme and remaining payload codes at the first HTTP optional whitespace code.
Compilation flags:
staticTemplate:
authentication_scheme_codes(Codes,SchemeCodes,PayloadCodes)Mode and number of proofs:
authentication_scheme_codes(+list(integer),-list(integer),-list(integer)) - oneparse_authentication_parameters/3
Parses comma-separated authentication parameters, using the given domain-error term for invalid syntax and duplicate names.
Compilation flags:
staticTemplate:
parse_authentication_parameters(ErrorDomain,Codes,Pairs)Mode and number of proofs:
parse_authentication_parameters(+nonvar,+list(integer),-list(pair)) - one_or_errorauthentication_token_codes/1
Succeeds when the nonempty list of codes is an HTTP token.
Compilation flags:
staticTemplate:
authentication_token_codes(Codes)Mode and number of proofs:
authentication_token_codes(+list(integer)) - zero_or_onePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)