WSTrustServiceContractConstants.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------
  4. namespace System.ServiceModel.Security
  5. {
  6. /// <summary>
  7. /// Defines constants that are used to describe Operation, ServiceContract
  8. /// and ServiceBehavior names.
  9. /// </summary>
  10. internal static class WSTrustServiceContractConstants
  11. {
  12. #pragma warning disable 1591
  13. public const string ServiceBehaviorName = "SecurityTokenService";
  14. public const string Namespace = "http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice";
  15. public static class Contracts
  16. {
  17. public const string IWSTrustFeb2005Async = "IWSTrustFeb2005Async";
  18. public const string IWSTrustFeb2005Sync = "IWSTrustFeb2005Sync";
  19. public const string IWSTrust13Async = "IWSTrust13Async";
  20. public const string IWSTrust13Sync = "IWSTrust13Sync";
  21. }
  22. public static class Operations
  23. {
  24. // IWSTrustFeb2005Async Operations.
  25. public const string TrustFeb2005CancelAsync = "TrustFeb2005CancelAsync";
  26. public const string TrustFeb2005CancelResponseAsync = "TrustFeb2005CancelResponseAsync";
  27. public const string TrustFeb2005IssueAsync = "TrustFeb2005IssueAsync";
  28. public const string TrustFeb2005IssueResponseAsync = "TrustFeb2005IssueResponseAsync";
  29. public const string TrustFeb2005RenewAsync = "TrustFeb2005RenewAsync";
  30. public const string TrustFeb2005RenewResponseAsync = "TrustFeb2005RenewResponseAsync";
  31. public const string TrustFeb2005ValidateAsync = "TrustFeb2005ValidateAsync";
  32. public const string TrustFeb2005ValidateResponseAsync = "TrustFeb2005ValidateResponseAsync";
  33. // IWSTrustFeb2005Sync Operations.
  34. public const string TrustFeb2005Cancel = "TrustFeb2005Cancel";
  35. public const string TrustFeb2005CancelResponse = "TrustFeb2005CancelResponse";
  36. public const string TrustFeb2005Issue = "TrustFeb2005Issue";
  37. public const string TrustFeb2005IssueResponse = "TrustFeb2005IssueResponse";
  38. public const string TrustFeb2005Renew = "TrustFeb2005Renew";
  39. public const string TrustFeb2005RenewResponse = "TrustFeb2005RenewResponse";
  40. public const string TrustFeb2005Validate = "TrustFeb2005Validate";
  41. public const string TrustFeb2005ValidateResponse = "TrustFeb2005ValidateResponse";
  42. // IWSTrust13Async Operations.
  43. public const string Trust13CancelAsync = "Trust13CancelAsync";
  44. public const string Trust13CancelResponseAsync = "Trust13CancelResponseAsync";
  45. public const string Trust13IssueAsync = "Trust13IssueAsync";
  46. public const string Trust13IssueResponseAsync = "Trust13IssueResponseAsync";
  47. public const string Trust13RenewAsync = "Trust13RenewAsync";
  48. public const string Trust13RenewResponseAsync = "Trust13RenewResponseAsync";
  49. public const string Trust13ValidateAsync = "Trust13ValidateAsync";
  50. public const string Trust13ValidateResponseAsync = "Trust13ValidateResponseAsync";
  51. // IWSTrust13Sync Operations.
  52. public const string Trust13Cancel = "Trust13Cancel";
  53. public const string Trust13CancelResponse = "Trust13CancelResponse";
  54. public const string Trust13Issue = "Trust13Issue";
  55. public const string Trust13IssueResponse = "Trust13IssueResponse";
  56. public const string Trust13Renew = "Trust13Renew";
  57. public const string Trust13RenewResponse = "Trust13RenewResponse";
  58. public const string Trust13Validate = "Trust13Validate";
  59. public const string Trust13ValidateResponse = "Trust13ValidateResponse";
  60. #pragma warning restore 1591
  61. }
  62. }
  63. }