Table of Contents

Class OpenIdConnectAuthenticationServiceExtensions

Namespace
ProjectTemplate.Web.Authentication.Providers.OpenIdConnect
Assembly
ProjectTemplate.Web.dll

Provides extension methods for registering OpenID Connect authentication provider services.

public static class OpenIdConnectAuthenticationServiceExtensions
Inheritance
OpenIdConnectAuthenticationServiceExtensions
Inherited Members

Methods

AddOpenIdConnectAuthentication(AuthenticationBuilder, OpenIdConnectAuthenticationOptions)

Adds the OpenID Connect authentication provider registration.

public static AuthenticationBuilder AddOpenIdConnectAuthentication(this AuthenticationBuilder builder, OpenIdConnectAuthenticationOptions options)

Parameters

builder AuthenticationBuilder

The authentication builder used to register authentication handlers.

options OpenIdConnectAuthenticationOptions

The OpenID Connect provider options.

Returns

AuthenticationBuilder

The same AuthenticationBuilder instance for chaining.