SecretManager class
Classe stockant les informations confidentielles de l'utilisateur
Constructors
- SecretManager.new(bool _secureStorageSet, bool _credentialSaved, String? _login)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteSecureStorageCredentials(
) → bool -
deleteUserCredentials(
) → bool -
getCredentials(
) → (String, String) - Fonction permettant de récupérer les informations de connexion CAS
-
getCredentialStatus(
) → dynamic - Fonction permettant d'obtenir le status de lecture des informations de connexion CAS. Vrai si les informations ont été chargées, faux sinon
-
getSecureEntry(
{String prompt = '> '}) → Future< String> - Fonction permettant de cacher le résultat de l'entrée standard à l'écran, utilisé lorsqu'un mot de passe est demandé ?
-
getSecureStorageIV(
) → IV? - Fonction permettant d'obtenir la clé de déchiffrement (IV) du SecureStorage retourne null si la clé n'existe pas
-
getSecureStorageKey(
) → String? - Fonction permettant d'obtenir la clé de déchiffrement du SecureStorage retourne null si la clé n'existe pas
-
getSecureStorageStatus(
) → dynamic - Fonction permettant d'obtenir le status de lecture des informations de chiffrement du Secure Storage. Vrai si les informations ont été chargées, faux sinon
-
isSecureStorageSet(
) → dynamic - Permet de savoir si le secureStorage (Persistance de session) est activée par l'utilisateur
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCredentials(
String username, String password, {bool saveToKeyring = false}) → bool - Fonction permettant de fixer les informations de connexion CAS Par défaut elle ne sont pas enregistrée dans le trousseau de clé du système
-
setCredentialsView(
) → Future< (bool, String)> - Vue permettant de demander à l'utilisateur d'entrer ses informations de connexion
-
setSecureStorage(
) → bool - Fonction créant les clés de chiffrement du secureStorage retourne False si l'une des deux étapes à échoué
-
setSecureStorageIV(
) → bool - Fonction créant la clé de chiffrement aléatoire (IV) du SecureStorage
-
setSecureStorageKey(
) → bool - Fonction créant la clé de chiffrement aléatoire du SecureStorage
-
toString(
) → String -
A string representation of this object.
inherited
-
updateUserCredentials(
String newUsername, String newPassword, {bool saveToKeyring = false}) → dynamic -
updateUserCredentialsView(
) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited