Table of Contents

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 CloudFoundryOptions
userToken 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

string

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 ServiceEndpoint

The endpoint to modify.

bindingParameters BindingParameterCollection

The 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 ServiceEndpoint

The endpoint that is to be customized.

clientRuntime ClientRuntime

The 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 ServiceEndpoint

The endpoint that exposes the contract.

endpointDispatcher EndpointDispatcher

The 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 ServiceEndpoint

The endpoint to validate.