public interface ConsentReferencePolicy
| Modifier and Type | Method and Description |
|---|---|
ConsentReference |
fromRequest(String encryptedConsentId,
String authorizationId,
String cookieString,
boolean strict)
Produces a consent reference from a web request.
|
ConsentReference |
fromURL(String redirectId,
ConsentType consentType,
String encryptedConsentId)
Produces The consent reference based on the inbound URL parameter.
|
ConsentReference fromURL(String redirectId, ConsentType consentType, String encryptedConsentId) throws InvalidConsentException
redirectId: - the redirect id.consentType: - the type of consent requested payment, account information, cancelation.encryptedConsentId - the encrypted consent idInvalidConsentException - the consent with the given redirect id is not found or is expired.ConsentReference fromRequest(String encryptedConsentId, String authorizationId, String cookieString, boolean strict) throws InvalidConsentException
encryptedConsentId - : the encrypted consent id from the request urlauthorizationId - : the authorization id from the request urlcookieString - : the cookie string associated with the request.strict - : if strict, the authorization id will be validated.InvalidConsentException - the consent is not found of the scaId does not match the consent cookie.Copyright © 2019. All rights reserved.