public Dictionary <string, string> BuildDictionaryForRetreiveToken(RetrieveToken retrieveToken)
        {
            Dictionary <string, string> parameters = new Dictionary <string, string>(1);

            parameters.Add("providerkey", retrieveToken.ProviderKey);
            return(parameters);
        }
Esempio n. 2
0
        public RetrieveTokenResult RetrieveToken(RetrieveToken retrieveToken)
        {
            Dictionary <string, string> parameters = _requestBuilderHelper.BuildDictionaryForRetreiveToken(retrieveToken);

            RetrieveTokenResult retrieveTokenResult = new RetrieveTokenResult();
            XDocument           resultDocument      = GetResultDocument(parameters, Method.GetToken, retrieveTokenResult);

            ResultParser.ParseTokenResult(resultDocument, retrieveTokenResult);

            return(retrieveTokenResult);
        }
Esempio n. 3
0
 public RetrieveTokenResult RetreiveToken(RetrieveToken retrieveToken)
 {
     ValidateObject(retrieveToken);
     return(_httpInterface.RetrieveToken(retrieveToken));
 }