InfoCardChannelParameter.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //-----------------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //-----------------------------------------------------------------------------
  4. //
  5. namespace System.ServiceModel.Security
  6. {
  7. using System.IdentityModel.Tokens;
  8. using System.ServiceModel;
  9. using System.IdentityModel.Selectors;
  10. using System.ServiceModel.Security.Tokens;
  11. internal class InfoCardChannelParameter
  12. {
  13. SecurityToken m_token;
  14. Uri m_relyingPartyIssuer;
  15. bool m_requiresInfocard;
  16. public SecurityToken Token
  17. {
  18. get
  19. {
  20. return m_token;
  21. }
  22. }
  23. public Uri RelyingPartyIssuer
  24. {
  25. get
  26. {
  27. return m_relyingPartyIssuer;
  28. }
  29. }
  30. public bool RequiresInfoCard
  31. {
  32. get
  33. {
  34. return m_requiresInfocard;
  35. }
  36. }
  37. public InfoCardChannelParameter(SecurityToken token, Uri relyingIssuer, bool requiresInfoCard)
  38. {
  39. m_token = token;
  40. m_relyingPartyIssuer = relyingIssuer;
  41. m_requiresInfocard = requiresInfoCard;
  42. }
  43. }
  44. }