Class JwtHeaderEndpointBehavior
- Namespace
- Steeltoe.Security.Authentication.CloudFoundry.Wcf
- Assembly
- Steeltoe.Security.Authentication.CloudFoundryWcf.dll
public class JwtHeaderEndpointBehavior : BehaviorExtensionElement, IEndpointBehavior
- Inheritance
-
JwtHeaderEndpointBehavior
- Implements
- Inherited Members
Constructors
JwtHeaderEndpointBehavior(CloudFoundryOptions, string)
public JwtHeaderEndpointBehavior(CloudFoundryOptions options, string userToken = null)
Parameters
optionsCloudFoundryOptionsuserTokenstring
Properties
BehaviorType
Gets the type of behavior.
public override Type BehaviorType { get; }
Property Value
- Type
The type of behavior.
SsoName
[ConfigurationProperty("ssoName")]
public string SsoName { get; set; }
Property Value
Methods
AddBindingParameters(ServiceEndpoint, BindingParameterCollection)
Implement to pass data at runtime to bindings to support custom behavior.
public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
Parameters
endpointServiceEndpointThe endpoint to modify.
bindingParametersBindingParameterCollectionThe objects that binding elements require to support the behavior.
ApplyClientBehavior(ServiceEndpoint, ClientRuntime)
Implements a modification or extension of the client across an endpoint.
public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
Parameters
endpointServiceEndpointThe endpoint that is to be customized.
clientRuntimeClientRuntimeThe client runtime to be customized.
ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)
Implements a modification or extension of the service across an endpoint.
public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
Parameters
endpointServiceEndpointThe endpoint that exposes the contract.
endpointDispatcherEndpointDispatcherThe endpoint dispatcher to be modified or extended.
CreateBehavior()
Creates a behavior extension based on the current configuration settings.
protected override object CreateBehavior()
Returns
- object
The behavior extension.
Validate(ServiceEndpoint)
Implement to confirm that the endpoint meets some intended criteria.
public void Validate(ServiceEndpoint endpoint)
Parameters
endpointServiceEndpointThe endpoint to validate.