processUserCredential method

Future<void> processUserCredential(
  1. UserCredential credential
)

Implementation

Future<void> processUserCredential(UserCredential credential) async {
  Map<String, dynamic> profile = credential.additionalUserInfo?.profile ?? {};
  svc<AuthService>().addUsernameHint(ArcaneAuthUserNameHint(
      firstName: profile["given_name"], lastName: profile["family_name"]));
}