Liking cljdoc? Tell your friends :D

hive-license.verify

Licence validity as an ordered rule chain. Pure.

A rule returns nil to pass, or a DenyReason keyword to stop the chain. Extending the policy = registering another rule; decide never changes.

Licence validity as an ordered rule chain. Pure.

A rule returns nil to pass, or a DenyReason keyword to stop the chain.
Extending the policy = registering another rule; `decide` never changes.
raw docstring

decideclj

(decide request)
(decide rules request)

First denial in rules, or a valid verdict.

First denial in `rules`, or a valid verdict.
raw docstring

default-rulesclj

Order is the contract: a malformed licence must not reach signature checking, and an unverified licence must not reach entitlement checking.

Order is the contract: a malformed licence must not reach signature
checking, and an unverified licence must not reach entitlement checking.
raw docstring

ILicenseRulecljprotocol

checkclj

(check this request)

nil to pass, else a DenyReason keyword.

nil to pass, else a DenyReason keyword.

rule-idclj

(rule-id this)

Keyword identifying this rule.

Keyword identifying this rule.

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close