1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Security
{
using System.IdentityModel.Protocols.WSTrust;
using System.ServiceModel;
using System.ServiceModel.Channels;
/// <summary>
/// Defines the ServiceContract interface for a Trust Feb 2005 protocol
/// </summary>
[ServiceContract( Name = WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Sync, Namespace = WSTrustServiceContractConstants.Namespace )]
public interface IWSTrustFeb2005SyncContract
{
/// <summary>
/// Definiton of a RST/Cancel method for WS-Trut Feb 2005
/// </summary>
/// <param name="message">The Request Message that contains a RST.</param>
/// <returns>Response message containing the RSTR.</returns>
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005Cancel, Action = WSTrustFeb2005Constants.Actions.Cancel, ReplyAction = WSTrustFeb2005Constants.Actions.CancelResponse )]
Message ProcessTrustFeb2005Cancel( Message message );
/// <summary>
/// Definiton of a RST/Issue method for WS-Trut Feb 2005
/// </summary>
/// <param name="message">The Request Message that contains a RST.</param>
/// <returns>Response message containing the RSTR.</returns>
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005Issue, Action = WSTrustFeb2005Constants.Actions.Issue, ReplyAction = WSTrustFeb2005Constants.Actions.IssueResponse )]
Message ProcessTrustFeb2005Issue( Message message );
/// <summary>
/// Definiton of a RST/Renew method for WS-Trut Feb 2005
/// </summary>
/// <param name="message">The Request Message that contains a RST.</param>
/// <returns>Response message containing the RSTR.</returns>
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005Renew, Action = WSTrustFeb2005Constants.Actions.Renew, ReplyAction = WSTrustFeb2005Constants.Actions.RenewResponse )]
Message ProcessTrustFeb2005Renew( Message message );
/// <summary>
/// Definiton of a RST/Validate method for WS-Trut Feb 2005
/// </summary>
/// <param name="message">The Request Message that contains a RST.</param>
/// <returns>Response message containing the RSTR.</returns>
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005Validate, Action = WSTrustFeb2005Constants.Actions.Validate, ReplyAction = WSTrustFeb2005Constants.Actions.ValidateResponse )]
Message ProcessTrustFeb2005Validate( Message message );
/// <summary>
/// Definiton of a RSTR/Cancel method for WS-Trut Feb 2005
/// </summary>
/// <param name="message">The Request Message that contains a RST.</param>
/// <returns>Response message containing the RSTR.</returns>
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005CancelResponse, Action = WSTrustFeb2005Constants.Actions.CancelResponse, ReplyAction = WSTrustFeb2005Constants.Actions.CancelResponse )]
Message ProcessTrustFeb2005CancelResponse( Message message );
/// <summary>
/// Definiton of a RSTR/Issue method for WS-Trut Feb 2005
/// </summary>
/// <param name="message">The Request Message that contains a RST.</param>
/// <returns>Response message containing the RSTR.</returns>
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005IssueResponse, Action = WSTrustFeb2005Constants.Actions.IssueResponse, ReplyAction = WSTrustFeb2005Constants.Actions.IssueResponse )]
Message ProcessTrustFeb2005IssueResponse( Message message );
/// <summary>
/// Definiton of a RSTR/Renew method for WS-Trut Feb 2005
/// </summary>
/// <param name="message">The Request Message that contains a RST.</param>
/// <returns>Response message containing the RSTR.</returns>
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005RenewResponse, Action = WSTrustFeb2005Constants.Actions.RenewResponse, ReplyAction = WSTrustFeb2005Constants.Actions.RenewResponse )]
Message ProcessTrustFeb2005RenewResponse( Message message );
/// <summary>
/// Definiton of a RSTR/Validate method for WS-Trut Feb 2005
/// </summary>
/// <param name="message">The Request Message that contains a RST.</param>
/// <returns>Response message containing the RSTR.</returns>
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005ValidateResponse, Action = WSTrustFeb2005Constants.Actions.ValidateResponse, ReplyAction = WSTrustFeb2005Constants.Actions.ValidateResponse )]
Message ProcessTrustFeb2005ValidateResponse( Message message );
}
}
|