Class AuthenticationState
- java.lang.Object
-
- com.gemalto.mfs.mwsdk.provisioning.model.AuthenticationState
-
public class AuthenticationState extends java.lang.ObjectThis class represents the state of authentication.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationState.AuthStateThe enum class for authentication states.
-
Constructor Summary
Constructors Constructor Description AuthenticationState(AuthenticationState.AuthState state, CHVerificationMethod cvm, java.lang.String tokenID)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CHVerificationMethodgetCvm()Get CVM method to be used for AuthenticationAuthenticationState.AuthStategetState()Get the auth State to determine if authentication is needed or not can be eitherAuthenticationState.AuthState.AUTH_NEEDEDorAuthenticationState.AuthState.AUTH_NOT_NEEDEDjava.lang.StringgetTokenID()get the Token ID to be activated for replenishment with the help of authentication.
-
-
-
Constructor Detail
-
AuthenticationState
public AuthenticationState(AuthenticationState.AuthState state, CHVerificationMethod cvm, java.lang.String tokenID)
Constructor- Parameters:
state- theAuthenticationState.AuthStatecvm- the card holder verification methodCHVerificationMethodtokenID- the token ID
-
-
Method Detail
-
getCvm
public CHVerificationMethod getCvm()
Get CVM method to be used for Authentication- Returns:
- the cvm, see
CHVerificationMethod
-
getState
public AuthenticationState.AuthState 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
public java.lang.String 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
-
-