InternalTokenProvider class abstract

Provides a way for FirebaseApp to get an access token if there exists a logged in user.

Constructors

InternalTokenProvider()

Properties

hashCode int
The hash code for this object.
no setterinherited
onTokenChanged Stream<InternalTokenResult>
Stream that will emit when the user auth state changes, when the user logs out or the token has been invalidated and it's refreshed.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String
A synchronous way to get the current Firebase User's UID. Returns the String representation of the UID. Returns null if FirebaseAuth is not linked, or if there is no currently signed-in user.
no setter

Methods

getAccessToken({bool forceRefresh}) Future<GetTokenResult>
Fetch a valid STS Token.
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