Class GitHubAuthenticationServiceExtensions
- Namespace
- ProjectTemplate.Web.Authentication.Providers.GitHub
- Assembly
- ProjectTemplate.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
builderAuthenticationBuilderThe authentication builder used to register authentication handlers.
optionsApplicationExternalAuthenticationProviderOptionsThe GitHub provider options.
Returns
- AuthenticationBuilder
The same AuthenticationBuilder instance for chaining.