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
options
CloudFoundryOptionsuserToken
string
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
endpoint
ServiceEndpointThe endpoint to modify.
bindingParameters
BindingParameterCollectionThe 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
endpoint
ServiceEndpointThe endpoint that is to be customized.
clientRuntime
ClientRuntimeThe 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
endpoint
ServiceEndpointThe endpoint that exposes the contract.
endpointDispatcher
EndpointDispatcherThe 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
endpoint
ServiceEndpointThe endpoint to validate.