Пример #1
0
 /// <summary>
 /// Tells a Service Provider's token manager about a consumer and its secret
 /// so that the SP can verify the Consumer's signed messages.
 /// </summary>
 /// <param name="consumerDescription">The consumer description.</param>
 internal void AddConsumer(ConsumerDescription consumerDescription)
 {
     this.consumers.Add(new ConsumerInfo { Key = consumerDescription.ConsumerKey, Secret = consumerDescription.ConsumerSecret });
 }
Пример #2
0
 /// <summary>
 /// Tells a Service Provider's token manager about a consumer and its secret
 /// so that the SP can verify the Consumer's signed messages.
 /// </summary>
 /// <param name="consumerDescription">The consumer description.</param>
 internal void AddConsumer(ConsumerDescription consumerDescription)
 {
     this.consumers.Add(new ConsumerInfo {
         Key = consumerDescription.ConsumerKey, Secret = consumerDescription.ConsumerSecret
     });
 }
 /// <summary>
 /// Tells a Service Provider's token manager about a consumer and its secret
 /// so that the SP can verify the Consumer's signed messages.
 /// </summary>
 /// <param name="consumerDescription">The consumer description.</param>
 internal void AddConsumer(ConsumerDescription consumerDescription)
 {
     this.consumersAndSecrets.Add(consumerDescription.ConsumerKey, consumerDescription.ConsumerSecret);
 }