JsonCaveatSet |
JsonCaveatSet.audience(String... allowedAudience) |
Specifies that the macaroon should only be accepted by endpoints listed in the given audience.
|
JsonCaveatSet |
JsonCaveatSet.audience(Collection<String> allowedAudience) |
Specifies that the macaroon should only be accepted by endpoints listed in the given audience.
|
JsonCaveatSet |
JsonCaveatSet.certificateBound(X509Certificate certificate) |
Binds the macaroon to the given TLS client certificate.
|
JsonCaveatSet |
JsonCaveatSet.certificateBoundSha512(X509Certificate certificate) |
Binds the macaroon to the given TLS client certificate.
|
JsonCaveatSet |
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.
|
JsonCaveatSet |
JsonCaveatSet.expiresAt(Instant expiryTime) |
Specifies that the macaroon should expire at the given time.
|
JsonCaveatSet |
JsonCaveatSet.notBefore(Instant notBeforeTime) |
Specifies that the macaroon should be considered invalid before the given time.
|