public interface ResourceOwnerConsentVerifier
Modifier and Type | Method and Description |
---|---|
boolean |
verify(boolean consentSaved,
OAuth2Request request,
ClientRegistration registration)
Determines whether if the resource owner has previously saved consent and whether it should be used.
|
boolean verify(boolean consentSaved, OAuth2Request request, ClientRegistration registration) throws ResourceOwnerConsentRequiredException
consentSaved
- true
if the resource owner has previously saved consent.request
- The OAuth2 request.registration
- The client's registration information, used to determine where to error if necessary.true
if the resource owner has saved consent and it can be used.ResourceOwnerConsentRequiredException
- If the OpenID Connect prompt parameter enforces that the resource
owner is not asked for consent, but the resource owners consent has not been previously stored.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.