Enum KeyBindedTokenMatchType
- java.lang.Object
-
- java.lang.Enum<KeyBindedTokenMatchType>
-
- io.mosip.authentication.common.service.impl.match.KeyBindedTokenMatchType
-
- All Implemented Interfaces:
MatchType,Serializable,Comparable<KeyBindedTokenMatchType>
public enum KeyBindedTokenMatchType extends Enum<KeyBindedTokenMatchType> implements MatchType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.mosip.authentication.core.spi.indauth.match.MatchType
MatchType.Category
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KEY_BINDED_TOKENS
-
Method Summary
-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface io.mosip.authentication.core.spi.indauth.match.MatchType
getIdentityInfoList, hasIdEntityInfo, mapEntityInfo
-
-
-
-
Enum Constant Detail
-
KEY_BINDED_TOKENS
public static final KeyBindedTokenMatchType KEY_BINDED_TOKENS
-
-
Method Detail
-
values
public static KeyBindedTokenMatchType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyBindedTokenMatchType c : KeyBindedTokenMatchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyBindedTokenMatchType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getIdMapping
public IdMapping getIdMapping()
- Specified by:
getIdMappingin interfaceMatchType
-
getAllowedMatchingStrategy
public Optional<MatchingStrategy> getAllowedMatchingStrategy(MatchingStrategyType matchStrategyType)
- Specified by:
getAllowedMatchingStrategyin interfaceMatchType
-
getIdentityInfoFunction
public Function<RequestDTO,Map<String,List<IdentityInfoDTO>>> getIdentityInfoFunction()
- Specified by:
getIdentityInfoFunctionin interfaceMatchType
-
getReqestInfoFunction
public Function<AuthRequestDTO,Map<String,String>> getReqestInfoFunction()
- Specified by:
getReqestInfoFunctionin interfaceMatchType
-
getEntityInfoMapper
public BiFunction<Map<String,String>,Map<String,Object>,Map<String,String>> getEntityInfoMapper()
- Specified by:
getEntityInfoMapperin interfaceMatchType
-
getCategory
public MatchType.Category getCategory()
- Specified by:
getCategoryin interfaceMatchType
-
isMultiLanguage
public boolean isMultiLanguage()
- Specified by:
isMultiLanguagein interfaceMatchType
-
isMultiLanguage
public boolean isMultiLanguage(String propName, Map<String,List<IdentityInfoDTO>> identityEntity, MappingConfig mappingConfig)
- Specified by:
isMultiLanguagein interfaceMatchType
-
isPropMultiLang
public boolean isPropMultiLang(String propName, MappingConfig cfg)
- Specified by:
isPropMultiLangin interfaceMatchType
-
hasRequestEntityInfo
public boolean hasRequestEntityInfo()
- Specified by:
hasRequestEntityInfoin interfaceMatchType
-
-