Class AuthTypeImpl
- java.lang.Object
-
- io.mosip.authentication.common.service.impl.AuthTypeImpl
-
- All Implemented Interfaces:
AuthType
- Direct Known Subclasses:
DynamicDemoAuthTypeImpl,KeyBindedTokenAuthTypeImpl
public class AuthTypeImpl extends Object implements AuthType
The Class AuthTypeImpl - used to instantiate respective Auth type to set the type, associate match types, display name and to get which auth type is enabled- Author:
- Sanjay Murali
-
-
Field Summary
-
Fields inherited from interface io.mosip.authentication.core.spi.indauth.match.AuthType
DEFAULT_MATCHING_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description AuthTypeImpl(String type, Set<MatchType> associatedMatchTypes, String displayName)Instantiates a new auth type impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<MatchType>getAssociatedMatchTypes()AuthTypegetAuthTypeImpl()StringgetDisplayName()StringgetType()booleanisAuthTypeEnabled(AuthRequestDTO authReq, IdInfoFetcher helper)booleanisAuthTypeInfoAvailable(AuthRequestDTO authRequestDTO)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.mosip.authentication.core.spi.indauth.match.AuthType
getDisplayName, getMatchingStrategy, getMatchingThreshold, getMatchProperties, getTypes, isAssociatedMatchType
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceAuthType
-
isAuthTypeEnabled
public boolean isAuthTypeEnabled(AuthRequestDTO authReq, IdInfoFetcher helper)
- Specified by:
isAuthTypeEnabledin interfaceAuthType
-
getAssociatedMatchTypes
public Set<MatchType> getAssociatedMatchTypes()
- Specified by:
getAssociatedMatchTypesin interfaceAuthType
-
isAuthTypeInfoAvailable
public boolean isAuthTypeInfoAvailable(AuthRequestDTO authRequestDTO)
- Specified by:
isAuthTypeInfoAvailablein interfaceAuthType
-
getAuthTypeImpl
public AuthType getAuthTypeImpl()
- Specified by:
getAuthTypeImplin interfaceAuthType
-
-