Class CertificateAuthenticationBuilderExtensions
Inheritance
System.Object
CertificateAuthenticationBuilderExtensions
Namespace: Steeltoe.Security.Authentication.Mtls
Assembly: Steeltoe.Security.Authentication.MtlsCore.dll
Syntax
public static class CertificateAuthenticationBuilderExtensions : object
Methods
| Edit this page View SourceAddMutualTls(AuthenticationBuilder)
Adds certificate authentication.
Declaration
public static AuthenticationBuilder AddMutualTls(this AuthenticationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationBuilder | builder | The |
Returns
Type | Description |
---|---|
AuthenticationBuilder |
AddMutualTls(AuthenticationBuilder, Action<MutualTlsAuthenticationOptions>)
Adds certificate authentication.
Declaration
public static AuthenticationBuilder AddMutualTls(this AuthenticationBuilder builder, Action<MutualTlsAuthenticationOptions> configureOptions)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationBuilder | builder | The |
Action<MutualTlsAuthenticationOptions> | configureOptions | Additional options configuration |
Returns
Type | Description |
---|---|
AuthenticationBuilder |
AddMutualTls(AuthenticationBuilder, String)
Adds certificate authentication.
Declaration
public static AuthenticationBuilder AddMutualTls(this AuthenticationBuilder builder, string authenticationScheme)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationBuilder | builder | The |
System.String | authenticationScheme | Scheme identifier |
Returns
Type | Description |
---|---|
AuthenticationBuilder |
AddMutualTls(AuthenticationBuilder, String, Action<MutualTlsAuthenticationOptions>)
Adds certificate authentication.
Declaration
public static AuthenticationBuilder AddMutualTls(this AuthenticationBuilder builder, string authenticationScheme, Action<MutualTlsAuthenticationOptions> configureOptions)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationBuilder | builder | The |
System.String | authenticationScheme | Scheme identifier |
Action<MutualTlsAuthenticationOptions> | configureOptions | Additional options configuration |
Returns
Type | Description |
---|---|
AuthenticationBuilder |