public async ValueTask AuthenticateWithPinAsync(OAuthTokens requestTokens, string pin) { var access = await twitterApi.AuthenticateWithPin(requestTokens, pin).ConfigureAwait(true); settings.AccessToken = access.OAuthToken; settings.AccessTokenSecret = access.OAuthSecret; settings.ScreenName = access.ScreenName; settings.Save(); }
public ValueTask <OAuthTokens> AuthenticateWithPinAsync(OAuthTokens requestTokens, string pin) => twitterApi.AuthenticateWithPin(requestTokens, pin);