Exposes static utility methods for password, salt and API credential generation.
Use the aqueduct auth
tool to generate API credentials.
Static Methods
-
generateAPICredentialPair(
String clientID, String secret, { String redirectURI: null }) → AuthClient -
A utility method to generate a ClientID and Client Secret Pair.
-
generatePasswordHash(
String password, String salt, { int hashRounds: 1000, int hashLength: 32 }) → String -
A utility method to generate a password hash using the PBKDF2 scheme.
-
generateRandomSalt(
{int hashLength: 32 }) → String -
A utility method to generate a random base64 salt.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited