Unity Firebase Authentication recupera el token de identificación después de iniciar sesión con Apple
– UnityAssets3Free
buenas , me llamo Juan y en esta ocasion os traigo
nueva pregunta
Hice una característica donde el usuario puede iniciar sesión en Apple Android utilizando Unity Firebase. El código es:
var providerData = new FederatedOAuthProviderData
ProviderId = "apple.com"
;
var provider = new FederatedOAuthProvider();
provider.SetProviderData(providerData);
await auth.SignInWithProviderAsync(provider).ContinueWith(task =>
var result = task.Result;
);
mi pregunta es: ¿cómo recuperar el token de identificación de Apple de la tarea. Resultado?
editar: el retorno de datos contiene 2 partes:
-
informacion del usuario
«PhotoUrl»: null, «DisplayName»: «», «Email»: «[email protected]», «IsAnonymous»: false, «IsEmailVerified»: true, «Metadata»: «LastSignInTimestamp»: 1660117698962, » CreationTimestamp»: 1660116775373 , «PhoneNumber»: «», «ProviderData»: [
«PhotoUrl»: null,
«UserId»: «elba7GqsGccUvQiYnEZr5KTtHlv2»,
«Email»: «[email protected]»,
«DisplayName»: «»,
«ProviderId»: «firebase»
,«PhotoUrl»: null,
«UserId»: «000435.d5a5ca436f7645f992af1e1cc4d8e97b.0728»,
«Email»: «[email protected]»,
«DisplayName»: «»,
«ProviderId»: «apple.com»]»ProviderId»: «base de fuego», «UserId»: «elba7GqsGccUvQiYnEZr5KTtHlv2»
-
información adicional «Perfil»: «at_hash»: «W89x3Dkr7ri-mMHu2bHdiw», «aud»: «com.m.obirix.mbgk.web», «auth_time»: 1660117696, «correo electrónico»: «[email protected] «, «email_verified»: «true», «exp»: 1660204098, «iat»: 1660117698, «iss»: «https://appleid.apple.com», «nonce_supported»: true, «sub»: «000435 .d5a5ca436f7645f992af1e1cc4d8e97b.0728» , «ProviderId»: «apple.com», «UserName»: «», «UpdatedCredential»: «Provider»: «»
0
nota: si aun no se resuelve tu pregunta por favor dejar un comentario y pronto lo podremos de nuevo , muchas gracias
por hoy,hasta la proxima