Exemple #1
0
        public override void ReplaceOAuthRequestTokenWithAccessToken(string requestToken, string accessToken, string accessTokenSecret)
        {
            Condition.Requires(requestToken).IsNotNullOrEmpty();
            Condition.Requires(accessToken).IsNotNullOrEmpty();
            Condition.Requires(accessTokenSecret).IsNotNullOrEmpty();

            _oauthTokenService.DeleteAll(oat => oat.Token == requestToken, false);
            StoreOAuthRequestToken(accessToken, accessTokenSecret);
        }