Uses of Class
org.forgerock.macaroons.JsonCaveatSet
Package
Description
Implementation of
Macaroons: Cookies with contextual caveats for decentralized
authorization in the cloud. See
Macaroon
for more details.-
Uses of JsonCaveatSet in org.forgerock.macaroons
Modifier and TypeMethodDescriptionSpecifies that the macaroon should only be accepted by endpoints listed in the given audience.JsonCaveatSet.audience
(Collection<String> allowedAudience) Specifies that the macaroon should only be accepted by endpoints listed in the given audience.JsonCaveatSet.certificateBound
(X509Certificate certificate) Binds the macaroon to the given TLS client certificate.JsonCaveatSet.certificateBoundSha512
(X509Certificate certificate) Binds the macaroon to the given TLS client certificate.JsonCaveatSet.confirmationKey
(JsonValue confirmationKey) Binds the macaroon to only be usable by a client that can prove possession of the key indicated in the given JSON object.Specifies that the macaroon should expire at the given time.Specifies that the macaroon should be considered invalid before the given time.