SyncCredentials class

Credentials used to authenticate a sync client against a server.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

googleAuthString(String data) SyncCredentials
Google authentication.
googleAuthUint8List(Uint8List data) SyncCredentials
Google authentication.
none() SyncCredentials
No credentials - usually only for development purposes with a server configured to accept all connections without authentication.
sharedSecretString(String data) SyncCredentials
Shared secret authentication.
sharedSecretUint8List(Uint8List data) SyncCredentials
Shared secret authentication.
userAndPassword(String user, String password) SyncCredentials
Username and password authentication.