AddLocalApi(AuthenticationBuilder)
Registers the authentication handler for local APIs.
public static AuthenticationBuilder AddLocalApi(AuthenticationBuilder builder)
- Returns:
- AuthenticationBuilder
Parameters
builder
AuthenticationBuilder
The builder.
AddLocalApi(AuthenticationBuilder, Action<LocalApiAuthenticationOptions>)
Registers the authentication handler for local APIs.
public static AuthenticationBuilder AddLocalApi(AuthenticationBuilder builder, Action<LocalApiAuthenticationOptions> configureOptions)
- Returns:
- AuthenticationBuilder
Parameters
builder
AuthenticationBuilder
The builder.
configureOptions
Action<LocalApiAuthenticationOptions>
The configure options.
AddLocalApi(AuthenticationBuilder, string, Action<LocalApiAuthenticationOptions>)
Registers the authentication handler for local APIs.
public static AuthenticationBuilder AddLocalApi(AuthenticationBuilder builder, string authenticationScheme, Action<LocalApiAuthenticationOptions> configureOptions)
- Returns:
- AuthenticationBuilder
Parameters
builder
AuthenticationBuilder
The builder.
authenticationScheme
string
The authentication scheme.
configureOptions
Action<LocalApiAuthenticationOptions>
The configure options.
AddLocalApi(AuthenticationBuilder, string, string, Action<LocalApiAuthenticationOptions>)
Registers the authentication handler for local APIs.
public static AuthenticationBuilder AddLocalApi(AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<LocalApiAuthenticationOptions> configureOptions)
- Returns:
- AuthenticationBuilder
Parameters
builder
AuthenticationBuilder
The builder.
authenticationScheme
string
The authentication scheme.
displayName
string
The display name of this scheme.
configureOptions
Action<LocalApiAuthenticationOptions>
The configure options.