Package io.quarkus.oidc
Interface DPoPNonceProvider
public interface DPoPNonceProvider
When a DPoP proof must include a nonce, register an implementation of this interface as a CDI bean
to provide and validate a nonce value.
- See Also:
-
Method Summary
-
Method Details
-
getNonce
String getNonce()Provides a nonce that must be included in the DPoP proof as the "nonce" claim.- Returns:
- resource server nonce
-
isValid
Determines if a DPoP proof nonce is valid. Implementations must check that this nonce exists and has not expired.- Parameters:
nonce- DPoP proof nonce- Returns:
- true if the `nonce` is valid
-