AuthenticationProvider class

A provider for performing authentication to a service.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

AuthenticationProvider({Event<AuthenticationProviderAuthenticationSessionsChangeEvent>? onDidChangeSessions, Future getSessions([List<String>?])?, Future createSession(List<String>)?, Future removeSession(String)?})
factory

Properties

createSession Future Function(List<String>)

Available on AuthenticationProvider, provided by the AuthenticationProvider$Typings extension

getter/setter pair
getSessions Future Function([List<String>?])

Available on AuthenticationProvider, provided by the AuthenticationProvider$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onDidChangeSessions Event<AuthenticationProviderAuthenticationSessionsChangeEvent>

Available on AuthenticationProvider, provided by the AuthenticationProvider$Typings extension

An {@link Event} which fires when the array of sessions has changed, or data within a session has changed.
no setter
removeSession Future Function(String)

Available on AuthenticationProvider, provided by the AuthenticationProvider$Typings extension

getter/setter pair
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