AuthService class

Inheritance
  • Object
  • Service
  • StatelessService
  • AuthService

Constructors

AuthService({bool allowAnonymous = false, Future<void> onBind(UserMeta user)?, Future<void> onUnbind()?, bool autoLink = true})

Properties

allowAnonymous bool
final
final
hashCode int
The hash code for this object.
no setterinherited
name String
no setterinherited
onBind Future<void> Function(UserMeta user)?
final
onUnbind Future<void> Function()?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → ServiceState
no setterinherited
stream Stream<AuthService>
no setter

Methods

bind(String uid) Future<void>
listen<T>(Stream<T> stream, void onData(T)) StreamSubscription<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onStart() → void
inherited
onStartupTask() Future<void>
override
onStop() → void
inherited
restartService() → void
inherited
signIn(AuthCredential credential) Future<void>
signOut() Future<void>
startService() → void
inherited
stopService() → void
inherited
toString() String
A string representation of this object.
inherited
unbind() Future<void>

Operators

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