public async Task <bool> RestoreAsync()
 {
     if (settings.SessionToken == null)
     {
         return(false);
     }
     if (!await client.LoginWithToken(settings.Email, settings.SessionToken))
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 2
0
 public override async Task <bool> RestoreSessionAsync(AuthenticationResponse response)
 {
     return(await client.LoginWithToken(response.UserIdentity, response.Token));
 }