protocol

http_oauth_scope_checker_protocol

Protocol for OAuth scope-sufficiency checker objects.

Availability:
logtalk_load(http_oauth(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-01
Compilation flags:
static
Dependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)

Public predicates

sufficient/2

Succeeds when the granted scopes are sufficient for all required scopes.

Compilation flags:
static
Template:
sufficient(GrantedScopes,RequiredScopes)
Mode and number of proofs:
sufficient(++list(atom),++list(atom)) - zero_or_one

Protected predicates

(none)

Private predicates

(none)

Operators

(none)