//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Security
{
using System;
using System.IdentityModel.Protocols.WSTrust;
using System.ServiceModel;
using System.ServiceModel.Channels;
///
/// Defines the ServiceContract Asynchronous interface for a Trust Feb 2005 protocol.
///
[ServiceContract( Name = WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Async, Namespace = WSTrustServiceContractConstants.Namespace )]
public interface IWSTrustFeb2005AsyncContract
{
///
/// Definiton of Async RST/Cancel method for WS-Trust Feb 2005
///
/// Request Message containing the RST.
/// AsyncCallback context.
/// Asyn state.
/// IAsyncResult result instance.
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005CancelAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.Cancel, ReplyAction = WSTrustFeb2005Constants.Actions.CancelResponse )]
IAsyncResult BeginTrustFeb2005Cancel( Message request, AsyncCallback callback, object state );
///
/// Completes the Async RST/Cancel method.
///
/// The IAsyncResult result instance returned by the BeginCancel call.
/// Message object that contains the RSTR.
Message EndTrustFeb2005Cancel( IAsyncResult ar );
///
/// Definiton of Async RST/Issue method for WS-Trust Feb 2005
///
/// Request Message containing the RST.
/// AsyncCallback context.
/// Asyn state.
/// IAsyncResult result instance.
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005IssueAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.Issue, ReplyAction = WSTrustFeb2005Constants.Actions.IssueResponse )]
IAsyncResult BeginTrustFeb2005Issue( Message request, AsyncCallback callback, object state );
///
/// Completes the Async RST/Issue method.
///
/// The IAsyncResult result instance returned by the BeginIssue call.
/// Message object that contains the RSTR.
Message EndTrustFeb2005Issue( IAsyncResult ar );
///
/// Definiton of Async RST/Renew method for WS-Trust Feb 2005
///
/// Request Message containing the RST.
/// AsyncCallback context.
/// Asyn state.
/// IAsyncResult result instance.
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005RenewAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.Renew, ReplyAction = WSTrustFeb2005Constants.Actions.RenewResponse )]
IAsyncResult BeginTrustFeb2005Renew( Message request, AsyncCallback callback, object state );
///
/// Completes the Async RST/Renew method.
///
/// The IAsyncResult result instance returned by the BeginRenew call.
/// Message object that contains the RSTR.
Message EndTrustFeb2005Renew( IAsyncResult ar );
///
/// Definiton of Async RST/Validate method for WS-Trust Feb 2005
///
/// Request Message containing the RST.
/// AsyncCallback context.
/// Asyn state.
/// IAsyncResult result instance.
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005ValidateAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.Validate, ReplyAction = WSTrustFeb2005Constants.Actions.ValidateResponse )]
IAsyncResult BeginTrustFeb2005Validate( Message request, AsyncCallback callback, object state );
///
/// Completes the Async RST/Validate method.
///
/// The IAsyncResult result instance returned by the BeginValidate call.
/// Message object that contains the RSTR.
Message EndTrustFeb2005Validate( IAsyncResult ar );
///
/// Definiton of Async RSTR/Cancel method for WS-Trust Feb 2005
///
/// Request Message containing the RST.
/// AsyncCallback context.
/// Asyn state.
/// IAsyncResult result instance.
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005CancelResponseAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.CancelResponse, ReplyAction = WSTrustFeb2005Constants.Actions.CancelResponse )]
IAsyncResult BeginTrustFeb2005CancelResponse( Message request, AsyncCallback callback, object state );
///
/// Completes the Async RSTR/Cancel method.
///
/// The IAsyncResult result instance returned by the BeginCancelResponse call.
/// Message object that contains the RSTR.
Message EndTrustFeb2005CancelResponse( IAsyncResult ar );
///
/// Definiton of Async RSTR/Issue method for WS-Trust Feb 2005
///
/// Request Message containing the RST.
/// AsyncCallback context.
/// Asyn state.
/// IAsyncResult result instance.
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005IssueResponseAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.IssueResponse, ReplyAction = WSTrustFeb2005Constants.Actions.IssueResponse )]
IAsyncResult BeginTrustFeb2005IssueResponse( Message request, AsyncCallback callback, object state );
///
/// Completes the Async RSTR/Issue method.
///
/// The IAsyncResult result instance returned by the BeginIssueResponse call.
/// Message object that contains the RSTR.
Message EndTrustFeb2005IssueResponse( IAsyncResult ar );
///
/// Definiton of Async RSTR/Renew method for WS-Trust Feb 2005
///
/// Request Message containing the RST.
/// AsyncCallback context.
/// Asyn state.
/// IAsyncResult result instance.
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005RenewResponseAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.RenewResponse, ReplyAction = WSTrustFeb2005Constants.Actions.RenewResponse )]
IAsyncResult BeginTrustFeb2005RenewResponse( Message request, AsyncCallback callback, object state );
///
/// Completes the Async RSTR/Renew method.
///
/// The IAsyncResult result instance returned by the BeginRenewResponse call.
/// Message object that contains the RSTR.
Message EndTrustFeb2005RenewResponse( IAsyncResult ar );
///
/// Definiton of Async RSTR/Validate method for WS-Trust Feb 2005
///
/// Request Message containing the RST.
/// AsyncCallback context.
/// Asyn state.
/// IAsyncResult result instance.
[OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005ValidateResponseAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.ValidateResponse, ReplyAction = WSTrustFeb2005Constants.Actions.ValidateResponse )]
IAsyncResult BeginTrustFeb2005ValidateResponse( Message request, AsyncCallback callback, object state );
///
/// Completes the Async RSTR/Validate method.
///
/// The IAsyncResult result instance returned by the BeginValidateResponse call.
/// Message object that contains the RSTR.
Message EndTrustFeb2005ValidateResponse( IAsyncResult ar );
}
}