IdentityProvider constructor

IdentityProvider(
  1. [List<Authenticator> authenticators = const [],
  2. Notifier notifier,
  3. UserConverter userConverter]
)

Construct Provider

Receives a list of authenticators as argument

Implementation

IdentityProvider(
    [List<Authenticator> authenticators = const [],
    Notifier notifier,
    UserConverter userConverter]) {
  this.notifier = notifier;
  this.userConverter = userConverter;
  for (Authenticator authenticator in authenticators) {
    this.use(authenticator);
  }
}