Class AuthenticationState
java.lang.Object
com.gemalto.mfs.mwsdk.provisioning.model.AuthenticationState
This class represents the state of authentication.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe enum class for authentication states. -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationState(AuthenticationState.AuthState state, CHVerificationMethod cvm, String tokenID) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetCvm()Get CVM method to be used for AuthenticationgetState()Get the auth State to determine if authentication is needed or not can be eitherAuthenticationState.AuthState.AUTH_NEEDEDorAuthenticationState.AuthState.AUTH_NOT_NEEDEDget the Token ID to be activated for replenishment with the help of authentication.
-
Constructor Details
-
AuthenticationState
public AuthenticationState(AuthenticationState.AuthState state, CHVerificationMethod cvm, String tokenID) Constructor- Parameters:
state- theAuthenticationState.AuthStatecvm- the card holder verification methodCHVerificationMethodtokenID- the token ID
-
-
Method Details
-
getCvm
Get CVM method to be used for Authentication- Returns:
- the cvm, see
CHVerificationMethod
-
getState
Get the auth State to determine if authentication is needed or not can be eitherAuthenticationState.AuthState.AUTH_NEEDEDorAuthenticationState.AuthState.AUTH_NOT_NEEDED- Returns:
- the authentication state
AuthenticationState.AuthState
-
getTokenID
get the Token ID to be activated for replenishment with the help of authentication. Can be null ifAuthenticationState.AuthStateisAuthenticationState.AuthState.AUTH_NOT_NEEDED.- Returns:
- tokenID
-