Purpose
The Application Manager acts as a central hub for managing the application it is associated with. It provides the ability to manage metadata for accounts associated with the application including:- Roles
- Tags
- Risk Scores
- Access Levels
Metadata
Roles
The Application Manager can be utilized for both updating and checking an account’s role in relation to the application. These capabilites are provided for the following roles:- Super Admin
- App Admin
- Risk Admin
- Access Level Admin
- Rule Admin
- Treasury Account
Super Admin Special Case
The functions are slightly different for a Super Admin. Because there can only be one super admin at a time we use a two-step process to set a new one. The following functions are used in place of the add function the other admin types employ:Access Levels, Risk Scores and Tags
The AppManager contains the functionality used to manage the Access Levels, Risk Scores and Tags associated with accounts, with respect to the application it manages. In order to manage these, the following functions have been provided for each (we’ll use the Risk Scores variant as an example here):Changing Data Providers
In addition to using the functions outlined above to manually manage the qualifiers, each can be switched to an external provider. Of note the external provider must conform to the relevant interface definition: IRiskScores, IAccessLevels or ITags. Changing data providers is a 2 step process. Since the same function API is used for each of the providers we’ll be using the Access Level Provider as an example:Application Level Rules
The Application Manager provides a function that can be called from registered Token Handlers to check the Application Level Rules for a transaction.Associated Contracts
The Application Manager also contains the functionality to register, deregister and check various related contracts, including:- The Application Handler
- Protocol Compliant Tokens