AuthenticationServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for setting up authentication services in an IServiceCollection.
public static class AuthenticationServiceCollectionExtensions
type AuthenticationServiceCollectionExtensions = class
Public Module AuthenticationServiceCollectionExtensions
- Inheritance
-
AuthenticationServiceCollectionExtensions
Methods
AddAuthentication(IServiceCollection) |
Registers services required by authentication services. |
AddAuthentication(IServiceCollection, Action<AuthenticationOptions>) |
Registers services required by authentication services and configures AuthenticationOptions. |
AddAuthentication(IServiceCollection, Action<SharedAuthenticationOptions>) | |
AddAuthentication(IServiceCollection, String) |
Registers services required by authentication services. |
AddRemoteScheme<TOptions,THandler>(IServiceCollection, String, String, Action<TOptions>) | |
AddScheme<TOptions,THandler>(IServiceCollection, String, Action<TOptions>) | |
AddScheme<TOptions,THandler>(IServiceCollection, String, String, Action<AuthenticationSchemeBuilder>, Action<TOptions>) | |
AddScheme<TOptions,THandler>(IServiceCollection, String, String, Action<TOptions>) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for