Table of Contents

Class GitHubAuthenticationServiceExtensions

Namespace
ReferenceApplication.Web.Authentication.Providers.GitHub
Assembly
ReferenceApplication.Web.dll

Provides extension methods for registering GitHub authentication provider services.

public static class GitHubAuthenticationServiceExtensions
Inheritance
GitHubAuthenticationServiceExtensions
Inherited Members

Methods

AddGitHubAuthentication(AuthenticationBuilder, ApplicationExternalAuthenticationProviderOptions)

Adds the GitHub authentication provider registration.

public static AuthenticationBuilder AddGitHubAuthentication(this AuthenticationBuilder builder, ApplicationExternalAuthenticationProviderOptions options)

Parameters

builder AuthenticationBuilder

The authentication builder used to register authentication handlers.

options ApplicationExternalAuthenticationProviderOptions

The GitHub provider options.

Returns

AuthenticationBuilder

The same AuthenticationBuilder instance for chaining.