@Service(value="xs2aConsentInfo") public class Xs2aConsentInfo extends Object
| Constructor and Description |
|---|
Xs2aConsentInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasWrongCredentials(Xs2aContext ctx)
Generic wrong credentials indicator.
|
boolean |
isConsentFinalized(Xs2aContext ctx)
Is the consent authorized and approved.
|
boolean |
isEmbedded(Xs2aContext ctx)
Is the current consent authorization in EMBEDDED mode.
|
boolean |
isMultipleScaAvailable(Xs2aContext ctx)
Is the current consent authorization using multiple SCA methods (SMS,email,etc.)
|
boolean |
isOauth2AuthenticationPreStep(Xs2aContext ctx)
Is the current consent in OAUTH-Pre-step (authentication) mode.
|
boolean |
isOauth2Authorization(Xs2aContext ctx)
Is the current consent authorization in OAUTH (not OAUTH pre-step) mode.
|
boolean |
isOauth2Required(Xs2aContext ctx)
Is the Oauth2 pre-step or authorization required
|
boolean |
isOauth2TokenAvailableAndReadyToUse(Xs2aContext ctx)
Is the Oauth2 token available and ready to use (not expired)
|
boolean |
isOkRedirectConsent(Xs2aContext ctx)
Was the redirection from ASPSP in REDIRECT mode using OK (consent granted) or NOK url (consent denied).
|
boolean |
isPasswordPresent(Xs2aContext ctx)
Is the PSU password present in the context.
|
boolean |
isRedirect(Xs2aContext ctx)
Is the current consent authorization in REDIRECT mode.
|
boolean |
isWrongPassword(Xs2aContext ctx)
Was the PSU password that was sent to ASPSP wrong.
|
boolean |
isWrongScaChallenge(Xs2aContext ctx)
Was the SCA challenge result that was sent to ASPSP wrong.
|
boolean |
isZeroScaAvailable(Xs2aContext ctx)
Is the current consent authorization using zero SCA flow
|
public boolean isEmbedded(Xs2aContext ctx)
public boolean isRedirect(Xs2aContext ctx)
public boolean isOauth2Authorization(Xs2aContext ctx)
public boolean isOauth2AuthenticationPreStep(Xs2aContext ctx)
public boolean isOauth2Required(Xs2aContext ctx)
public boolean isOauth2TokenAvailableAndReadyToUse(Xs2aContext ctx)
public boolean isMultipleScaAvailable(Xs2aContext ctx)
public boolean isZeroScaAvailable(Xs2aContext ctx)
public boolean isPasswordPresent(Xs2aContext ctx)
public boolean isConsentFinalized(Xs2aContext ctx)
public boolean isWrongPassword(Xs2aContext ctx)
public boolean isWrongScaChallenge(Xs2aContext ctx)
public boolean isOkRedirectConsent(Xs2aContext ctx)
public boolean hasWrongCredentials(Xs2aContext ctx)
Copyright © 2020. All rights reserved.