FRAPolicy

abstract class FRAPolicy

The FRAPolicy is an abstract Policy that provides general guidance on implementing policies to enforce the security of an Authenticator app. A policy must contain an unique name and instructions to determinate whether a condition is valid at a particular time. The policy may optionally contain some data to be used in the validation procedure. JSON representation of a policy: {"policyName" : { policyData }}

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var data: JSONObject

Functions

Link copied to clipboard
abstract fun evaluate(context: Context): Boolean
Evaluate the policy compliance.
Link copied to clipboard
abstract fun getName(): String
Retrieve the name of the Policy.