getAppAuth function

AppAuth getAppAuth (
  1. AppAuthType type
)

Implementation

AppAuth getAppAuth(AppAuthType type) {
  switch (type) {
    case AppAuthType.FIREBASE_AUTH:
      return AppAuthUsingFirebaseAuth();
    case AppAuthType.FIREBASE_EMULATOR:
      return AppAuthUsingFirebaseEmulator();
    case AppAuthType.MOCK_AUTH:
      return MockAuth();
    case AppAuthType.DUMB_AUTH:
      return DumbAuth();
    default:
      return AppAuthUsingFirebaseAuth();
  }
}