public interface AuthorizationService
| Modifier and Type | Method and Description |
|---|---|
BearerTokenBO |
authorise(String login,
String pin,
UserRoleBO role,
String scaId,
String authorisationId)
Verify user credential and produces a corresponding login token.
|
BearerTokenBO |
authorizeNewAuthorizationId(ScaInfoBO scaInfoBO,
String authorizationId) |
BearerTokenBO |
consentToken(ScaInfoBO scaInfoBO,
AisConsentBO aisConsent)
Provides a token used to gain read access to an account.
|
BearerTokenBO |
loginToken(ScaInfoBO scaInfoBO)
Create a new token for the current user, with a new authorization id
|
BearerTokenBO |
scaToken(ScaInfoBO scaInfoBO)
Create a new token for the current user, after a successful auth code process..
|
BearerTokenBO |
validate(String accessToken,
Date refTime)
Check if the provided token is valid at the given reference time and return the corresponding user.
|
boolean |
validateCredentials(String login,
String pin,
UserRoleBO role) |
BearerTokenBO authorise(String login, String pin, UserRoleBO role, String scaId, String authorisationId)
The granted access token can no be used to access account information.
login - User loginpin - User PINrole - the role of this userscaId - the scaIdauthorisationId - the authorization idBearerTokenBO authorizeNewAuthorizationId(ScaInfoBO scaInfoBO, String authorizationId)
BearerTokenBO validate(String accessToken, Date refTime)
accessToken - the access token to validaterefTime - the reference timeBearerTokenBO consentToken(ScaInfoBO scaInfoBO, AisConsentBO aisConsent)
scaInfoBO - SCA informationaisConsent - the ais consent.BearerTokenBO scaToken(ScaInfoBO scaInfoBO)
scaInfoBO - : SCA informationBearerTokenBO loginToken(ScaInfoBO scaInfoBO)
scaInfoBO - : SCA informationboolean validateCredentials(String login, String pin, UserRoleBO role)
Copyright © 2020. All rights reserved.