示例#1
0
 public async Task <bool> IsAuthorized()
 {
     if (!_clientProvider.IsAuthorized)
     {
         return(await _clientProvider.Authorize());
     }
     return(_clientProvider.IsAuthorized);
 }