Skip to content

Commit

Permalink
feat: Add useEmulator method to Authenticator
Browse files Browse the repository at this point in the history
  • Loading branch information
naipaka committed Nov 27, 2023
1 parent 414c785 commit d0701cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/flutterfire_authenticator/lib/src/authenticator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,8 @@ class Authenticator {
throw UnimplementedError('未対応のSigningMethodがあります。');
}
}

/// Changes this instance to point to an Auth emulator running locally.
Future<void> useEmulator(String host, int port) =>
_auth.useAuthEmulator(host, port);

Check warning on line 148 in packages/flutterfire_authenticator/lib/src/authenticator.dart

View check run for this annotation

Codecov / codecov/patch

packages/flutterfire_authenticator/lib/src/authenticator.dart#L147-L148

Added lines #L147 - L148 were not covered by tests
}

0 comments on commit d0701cb

Please sign in to comment.