Class AuthenticationState
- java.lang.Object
-
- com.gemalto.mfs.mwsdk.provisioning.model.AuthenticationState
-
public class AuthenticationState extends java.lang.Object
This class represents the state of authentication.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthenticationState.AuthState
The 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 CHVerificationMethod
getCvm()
Get CVM method to be used for AuthenticationAuthenticationState.AuthState
getState()
Get the auth State to determine if authentication is needed or not can be eitherAuthenticationState.AuthState.AUTH_NEEDED
orAuthenticationState.AuthState.AUTH_NOT_NEEDED
java.lang.String
getTokenID()
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.AuthState
cvm
- the card holder verification methodCHVerificationMethod
tokenID
- 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_NEEDED
orAuthenticationState.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.AuthState
isAuthenticationState.AuthState.AUTH_NOT_NEEDED
.- Returns:
- tokenID
-
-