AuthService class

Inheritance
  • Object
  • Service
  • StatelessService
  • AuthService
Implemented types

Constructors

AuthService({bool allowAnonymous = false, Future<void> onBind(UserMeta user)?, Future<void> onUnbind()?, bool autoLink = true, List<SocialSignInSiteConfig> signInConfigs = const []})

Properties

allowAnonymous bool
final
authBox → Box
no setter
final
box → Box
no setter
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
signInConfigs List<SocialSignInSiteConfig>
final
state → ServiceState
no setterinherited
stream Stream<AuthService>
no setter

Methods

addUsernameHint(ArcaneAuthUserNameHint hint) → void
bind(String uid) Future<void>
getSignInConfig<T extends SocialSignInSiteConfig>() → T?
hasSignInConfig<T extends SocialSignInSiteConfig>() bool
linkCredential(AuthCredential credential) Future<void>
linkPopup(AuthProvider provider) 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
processUserCredential(UserCredential credential) Future<void>
registerWithEmailPassword({required String email, required String password}) Future<void>
override
restartService() → void
inherited
signIn(AuthCredential credential) Future<void>
signInWithEmailPassword({required String email, required String password}) Future<void>
override
signInWithPopup(AuthProvider provider) Future<void>
signInWithProvider(BuildContext context, ArcaneSignInProviderType type) Future<void>
override
signOut(BuildContext context) Future<void>
startService() → void
inherited
stopService() → void
inherited
toString() String
A string representation of this object.
inherited
unbind() Future<void>
waitForFirebaseInit() Future<void>

Operators

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