You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using AppleAuth.Interfaces;
- using UnityEngine;
-
- namespace AppleAuth.Native
- {
- public class PayloadDeserializer : IPayloadDeserializer
- {
- public ICredentialStateResponse DeserializeCredentialStateResponse(string payload)
- {
- return JsonUtility.FromJson<CredentialStateResponse>(payload);
- }
-
- public ILoginWithAppleIdResponse DeserializeLoginWithAppleIdResponse(string payload)
- {
- return JsonUtility.FromJson<LoginWithAppleIdResponse>(payload);
- }
- }
- }
|