Esempio n. 1
0
 private protected async Task AuthorizeAsync(OAuth2App app, OAuth2EndPoint endPoint)
 {
     _app         = app;
     _endPoint    = endPoint;
     _credentials = await OAuth2Broker.AuthorizeAsync(app, endPoint).ConfigureAwait(false);
 }
Esempio n. 2
0
 private protected async Task UpdateCredentialsAsync()
 {
     _credentials = await OAuth2Broker.UpdateCredentialsAsync(_credentials, _app, _endPoint).ConfigureAwait(false);
 }