signInAnonymously method

Future<CloudBaseAuthState> signInAnonymously()

匿名登录

Implementation

Future<CloudBaseAuthState> signInAnonymously() async {
  if (_anonymousAuthProvider == null) {
    _anonymousAuthProvider = AnonymousAuthProvider(super.core);
  }

  CloudBaseAuthState authState =
      await _anonymousAuthProvider!.signInAnonymously();

  return authState;
}