registerFactory static method

void registerFactory(
  1. AuthenticatorFactory factory
)

Registers a factory. Overwrites any existing factory for the same method.

Implementation

static void registerFactory(AuthenticatorFactory factory) {
  _factories[factory.method] = factory;
}