Push Notification
PushNotification is a model class which represents a message that was received from an external source. A notification could be raised against any mechanism. Currently used by Push mechanism.
Constructors
Link copied to clipboard
private constructor(mechanismUID: String, messageId: String, message: String, challenge: String, amlbCookie: String, timeAdded: Calendar, timeExpired: Calendar, ttl: Long, approved: Boolean, pending: Boolean, customPayload: String, numbersChallenge: String, contextInfo: String, pushType: PushType)
Creates the PushNotification object with given data
Properties
Link copied to clipboard
The AM load balance cookie
Link copied to clipboard
The context information to this notification.
Link copied to clipboard
The JSON String containing the custom attributes added to this notification
Link copied to clipboard
Unique identifier of the Mechanism associated with this PushNotification
Link copied to clipboard
The numbers used in the push challenge
Link copied to clipboard
The mechanism associated with this notification
Link copied to clipboard
Date that the notification has expired
Functions
Link copied to clipboard
Accepts the push authentication request.
Accepts the push notification request with the challenge response.
fun accept(title: String, subtitle: String, allowDeviceCredentials: Boolean, @NonNull activity: FragmentActivity, @NonNull listener: FRAListener<Void>)
Accepts the push notification request with Biometric Authentication.
Link copied to clipboard
Returns a builder for creating a PushNotification.
Link copied to clipboard
Link copied to clipboard
Deny any type of push authentication request.
Link copied to clipboard
Deserializes the specified Json into an object of the PushNotification object.
Link copied to clipboard
Get numbers used for push challenge
Link copied to clipboard
Gets the mechanism object associated with the notification.
Link copied to clipboard
Determine whether the authentication the notification is related to succeeded.
Link copied to clipboard
Returns true if the two objects would conflict if added to a storage system.
Link copied to clipboard
Link copied to clipboard
Set if the authentication succeeded.
Link copied to clipboard
Set if the authentication is pending.
Link copied to clipboard
Sets the mechanism object associated with the notification.