FederatedChannelFactoryT Class |
Namespace: Be.Vlaanderen.Framework.Identity
public sealed class FederatedChannelFactory<T>
The FederatedChannelFactoryT type exposes the following members.
Name | Description | |
---|---|---|
FederatedChannelFactoryT |
Initializes a new instance of the FederatedChannelFactoryT class.
|
Name | Description | |
---|---|---|
Credentials |
Gets the credentials used by a client to communicate to a service endpoint over the channels produced by the factory.
|
Name | Description | |
---|---|---|
ClearTokenCache |
Removes the token for the current credentials from the cache entry.
| |
ClearTokenCacheActAs |
Removes an ActAs token from the cache.
| |
ClearTokenCacheOnBehalfOf |
Removes an OnBehalfOf token from the cache.
| |
CreateChannel |
Creates a new service channel.
| |
CreateChannelActingAsCurrentUser |
Creates a channel acting as the current user.
| |
CreateChannelOnBehalfOfCurrentUser |
Creates a channel on behalf of the current user.
|
SAML tokens will be cached for reuse to improve performance.
var factory = new FederatedChannelFactory<ServiceReference.IServiceChannel>("WS2007FederationHttpBinding_IService_Certificate"); var channel = factory.CreateChannelActingAsCurrentUser(); using (channel.CreateSafeDisposer()) { this.Data = channel.GetData(42); }