[−][src]Module safe_authenticator::config
Functionality relating to the Authenticator configuration, including things related to app info and the revocation queue.
Structs
AppInfo | App data stored in the authenticator configuration. |
Constants
KEY_APPS | Config file key under which the list of registered apps is stored. |
KEY_APP_REVOCATION_QUEUE | Config file key under which the revocation queue is stored. |
Functions
get_app | Retrieves an app info by the given app ID. |
get_app_revocation_queue | Get authenticator's revocation queue.
Returns version and the revocation queue in a tuple.
If the queue is not found on the config file, returns |
insert_app | Register the given app with authenticator. |
list_apps | Retrieves apps registered with the authenticator. |
next_version | Bump the current version to obtain new version. |
push_to_app_revocation_queue | Push new |
remove_app | Remove the given app from the list of registered apps. |
remove_from_app_revocation_queue | Remove |
repush_to_app_revocation_queue | Moves |
Type Definitions
Apps | Maps from a SHA-3 hash of an app ID to app info. |
RevocationQueue | Contains a queue of revocations that are currently running or have failed.
String refers to |