Beispiel #1
0
 protected async Task AuthoriseAsync(IHttpClient client, IAuthenticationService authenticationService)
 {
     if (await authenticationService.IsUserSignedInAsync())
     {
         client.AddBearerToken(authenticationService.Token);
     }
 }