Class ApplicationBuilderExtensions
Inheritance
System.Object
ApplicationBuilderExtensions
Namespace: Steeltoe.Security.Authentication.CloudFoundry
Assembly: Steeltoe.Security.Authentication.CloudFoundryCore.dll
Syntax
public static class ApplicationBuilderExtensions : object
Methods
| Edit this page View SourceUseCloudFoundryCertificateAuth(IApplicationBuilder, ForwardedHeadersOptions)
Enable identity certificate rotation, certificate and header forwarding, authentication and authorization
Default ForwardedHeadersOptions only includes
Declaration
public static IApplicationBuilder UseCloudFoundryCertificateAuth(this IApplicationBuilder app, ForwardedHeadersOptions forwardedHeaders = null)
Parameters
Type | Name | Description |
---|---|---|
IApplicationBuilder | app | The |
ForwardedHeadersOptions | forwardedHeaders | Custom header forwarding policy |
Returns
Type | Description |
---|---|
IApplicationBuilder |
UseCloudFoundryContainerIdentity(IApplicationBuilder)
Enable certificate rotation and forwarding
Declaration
public static IApplicationBuilder UseCloudFoundryContainerIdentity(this IApplicationBuilder app)
Parameters
Type | Name | Description |
---|---|---|
IApplicationBuilder | app | The |
Returns
Type | Description |
---|---|
IApplicationBuilder |