Class MMFAMappingExtUtils
- java.lang.Object
-
- com.tivoli.am.fim.trustserver.sts.utilities.MMFAMappingExtUtils
-
public class MMFAMappingExtUtils extends java.lang.Object
Implementation of STS Mapping Extension Functions for MMFA.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APP_ID_KEY
static java.lang.String
DEVICE_NAME_KEY
static java.lang.String
DEVICE_TYPE_KEY
static java.lang.String
FINGERPRINT_SUPPORT_KEY
static java.lang.String
FRONT_CAMERA_SUPPORT_KEY
static java.lang.String
MMFAMappingExtUtils_java_copyright
static java.lang.String
OS_VERSION_KEY
static java.lang.String
PUSH_TOKEN_KEY
static java.lang.String
TENANT_ID_KEY
-
Constructor Summary
Constructors Constructor Description MMFAMappingExtUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getAuthenticator(java.lang.String stateId)
Fetches an authenticator by state ID.static java.lang.String
registerAuthenticator(java.lang.String stateId)
Registers a new authenticator.static boolean
saveDeviceAttributes(java.lang.String stateId, java.lang.String deviceName, java.lang.String deviceType, java.lang.String osVersion, java.lang.String fingerprintSupport, java.lang.String frontCameraSupport, java.lang.String tenantId)
static boolean
savePushToken(java.lang.String stateId, java.lang.String pushToken)
static boolean
savePushToken(java.lang.String stateId, java.lang.String pushToken, java.lang.String applicationID)
-
-
-
Field Detail
-
MMFAMappingExtUtils_java_copyright
public static final java.lang.String MMFAMappingExtUtils_java_copyright
-
PUSH_TOKEN_KEY
public static final java.lang.String PUSH_TOKEN_KEY
- See Also:
- Constant Field Values
-
APP_ID_KEY
public static final java.lang.String APP_ID_KEY
- See Also:
- Constant Field Values
-
TENANT_ID_KEY
public static final java.lang.String TENANT_ID_KEY
- See Also:
- Constant Field Values
-
DEVICE_NAME_KEY
public static final java.lang.String DEVICE_NAME_KEY
- See Also:
- Constant Field Values
-
DEVICE_TYPE_KEY
public static final java.lang.String DEVICE_TYPE_KEY
- See Also:
- Constant Field Values
-
OS_VERSION_KEY
public static final java.lang.String OS_VERSION_KEY
- See Also:
- Constant Field Values
-
FINGERPRINT_SUPPORT_KEY
public static final java.lang.String FINGERPRINT_SUPPORT_KEY
- See Also:
- Constant Field Values
-
FRONT_CAMERA_SUPPORT_KEY
public static final java.lang.String FRONT_CAMERA_SUPPORT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
registerAuthenticator
public static java.lang.String registerAuthenticator(java.lang.String stateId)
Registers a new authenticator.- Parameters:
stateID
- The state ID of the authorization grant.- Returns:
- The ID of the newly registered authenticator, or
null
if registration fails.
-
getAuthenticator
public static java.lang.String getAuthenticator(java.lang.String stateId)
Fetches an authenticator by state ID.- Parameters:
stateID
- The state ID of the authorization grant.- Returns:
- The ID of the newly registered authenticator, or
null
if registration fails.
-
savePushToken
public static boolean savePushToken(java.lang.String stateId, java.lang.String pushToken)
-
savePushToken
public static boolean savePushToken(java.lang.String stateId, java.lang.String pushToken, java.lang.String applicationID)
-
saveDeviceAttributes
public static boolean saveDeviceAttributes(java.lang.String stateId, java.lang.String deviceName, java.lang.String deviceType, java.lang.String osVersion, java.lang.String fingerprintSupport, java.lang.String frontCameraSupport, java.lang.String tenantId)
-
-