Table of Contents

Class ApplicationBuilderExtensions

Namespace
Steeltoe.Security.Authentication.CloudFoundry
Assembly
Steeltoe.Security.Authentication.CloudFoundryCore.dll
public static class ApplicationBuilderExtensions
Inheritance
ApplicationBuilderExtensions
Inherited Members

Methods

UseCloudFoundryCertificateAuth(IApplicationBuilder, ForwardedHeadersOptions)

Enable identity certificate rotation, certificate and header forwarding, authentication and authorization Default ForwardedHeadersOptions only includes XForwardedProto

public static IApplicationBuilder UseCloudFoundryCertificateAuth(this IApplicationBuilder app, ForwardedHeadersOptions forwardedHeaders = null)

Parameters

app IApplicationBuilder

The IApplicationBuilder

forwardedHeaders ForwardedHeadersOptions

Custom header forwarding policy

Returns

IApplicationBuilder

UseCloudFoundryContainerIdentity(IApplicationBuilder)

Enable certificate rotation and forwarding

[Obsolete("Certificate rotation should be activated by CertificateRotationService and UseCertificateForwarding can be called directly instead of using this method.")]
public static IApplicationBuilder UseCloudFoundryContainerIdentity(this IApplicationBuilder app)

Parameters

app IApplicationBuilder

The IApplicationBuilder

Returns

IApplicationBuilder