Class DynamicDemoAuthTypeImpl
- java.lang.Object
-
- io.mosip.authentication.common.service.impl.AuthTypeImpl
-
- io.mosip.authentication.common.service.impl.DynamicDemoAuthTypeImpl
-
- All Implemented Interfaces:
AuthType
public class DynamicDemoAuthTypeImpl extends AuthTypeImpl
The Class DynamicDemoAuthTypeImpl.- Author:
- Loganathan Sekar
-
-
Field Summary
-
Fields inherited from interface io.mosip.authentication.core.spi.indauth.match.AuthType
DEFAULT_MATCHING_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description DynamicDemoAuthTypeImpl(String type, Set<MatchType> associatedMatchTypes)Instantiates a new dynamic demo auth type impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName(AuthRequestDTO authReq, IdInfoFetcher idInfoFetcher)Gets the display name.booleanisAuthTypeEnabled(AuthRequestDTO authReq, IdInfoFetcher idInfoFetcher)Checks if is auth type enabled.-
Methods inherited from class io.mosip.authentication.common.service.impl.AuthTypeImpl
getAssociatedMatchTypes, getAuthTypeImpl, getDisplayName, getType, isAuthTypeInfoAvailable
-
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
getMatchingStrategy, getMatchingThreshold, getMatchProperties, getTypes, isAssociatedMatchType
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName(AuthRequestDTO authReq, IdInfoFetcher idInfoFetcher)
Gets the display name.- Parameters:
authReq- the auth reqidInfoFetcher- the id info fetcher- Returns:
- the display name
-
isAuthTypeEnabled
public boolean isAuthTypeEnabled(AuthRequestDTO authReq, IdInfoFetcher idInfoFetcher)
Checks if is auth type enabled.- Specified by:
isAuthTypeEnabledin interfaceAuthType- Overrides:
isAuthTypeEnabledin classAuthTypeImpl- Parameters:
authReq- the auth reqidInfoFetcher- the id info fetcher- Returns:
- true, if is auth type enabled
-
-