AuthenticatorManager

Constructors

Link copied to clipboard
constructor(context: Context, storageClient: StorageClient, policyEvaluator: FRAPolicyEvaluator, deviceToken: String)

Properties

Link copied to clipboard
private open var context: Context
The Application Context.
Link copied to clipboard
private open var deviceToken: String
The FCM Device token.
Link copied to clipboard
The Notification Factory responsible to handle remote messages.
Link copied to clipboard
private open var oathFactory: MechanismFactory
The Oath Factory responsible to build Oath mechanisms.
Link copied to clipboard
The Policy Evaluator is used to enforce policy compliance.
Link copied to clipboard
private open var pushFactory: MechanismFactory
The Push Factory responsible to build Push mechanisms.
Link copied to clipboard
private open var storageClient: StorageClient
The Storage client.
Link copied to clipboard
private val TAG: String

Functions

Link copied to clipboard
private open fun createCombinedMechanismsFromUri(uri: String, listener: FRAListener<Mechanism>)
Link copied to clipboard
Link copied to clipboard
open fun getAccount(accountId: String): Account
open fun getAccount(mechanism: Mechanism): Account
Link copied to clipboard
open fun getAllAccounts(initializeObjects: Boolean): List<Account>
Link copied to clipboard
open fun getMechanism(notification: PushNotification): Mechanism
Link copied to clipboard
open fun getNotification(notificationId: String): PushNotification
Link copied to clipboard
open fun handleMessage(message: RemoteMessage): PushNotification
open fun handleMessage(messageId: String, message: String): PushNotification
Link copied to clipboard
private open fun initializeAccount(account: Account)
Link copied to clipboard
open fun lockAccount(account: Account, policy: FRAPolicy): Boolean
Link copied to clipboard
private open fun processPoliciesForAccount(account: Account)
Link copied to clipboard
open fun registerForRemoteNotifications(newDeviceToken: String)
Link copied to clipboard
open fun removeAccount(account: Account): Boolean
Link copied to clipboard
open fun removeMechanism(mechanism: Mechanism): Boolean
Link copied to clipboard
open fun removeNotification(notification: PushNotification): Boolean
Link copied to clipboard
Link copied to clipboard
open fun setNotificationFactory(notificationFactory: NotificationFactory)
Link copied to clipboard
open fun setPushFactory(pushFactory: MechanismFactory)
Link copied to clipboard
open fun unlockAccount(account: Account): Boolean
Link copied to clipboard
open fun updateAccount(account: Account): Boolean