CloudBaseAuth constructor

CloudBaseAuth(
  1. CloudBaseCore core
)

Implementation

factory CloudBaseAuth(CloudBaseCore core) {
  assert(core.config.env != null);
  String envId = core.config.env!;

  return _cache.putIfAbsent(envId, () {
    return CloudBaseAuth._internal(core);
  });
}