AuthenticationService Constructors
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.
AuthenticationService(IAuthenticationSchemeProvider, IAuthenticationHandlerProvider, IClaimsTransformation)
- Source:
- AuthenticationService.cs
- Source:
- AuthenticationService.cs
Constructor.
public:
AuthenticationService(Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ schemes, Microsoft::AspNetCore::Authentication::IAuthenticationHandlerProvider ^ handlers, Microsoft::AspNetCore::Authentication::IClaimsTransformation ^ transform);
C#
public AuthenticationService (Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes, Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider handlers, Microsoft.AspNetCore.Authentication.IClaimsTransformation transform);
new Microsoft.AspNetCore.Authentication.AuthenticationService : Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider * Microsoft.AspNetCore.Authentication.IClaimsTransformation -> Microsoft.AspNetCore.Authentication.AuthenticationService
Public Sub New (schemes As IAuthenticationSchemeProvider, handlers As IAuthenticationHandlerProvider, transform As IClaimsTransformation)
Parameters
- handlers
- IAuthenticationHandlerProvider
- transform
- IClaimsTransformation
Applies to
ASP.NET Core 2.2 and other versions
Product | Versions |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2 |
AuthenticationService(IAuthenticationSchemeProvider, IAuthenticationHandlerProvider, IClaimsTransformation, IOptions<AuthenticationOptions>)
- Source:
- AuthenticationService.cs
Constructor.
public:
AuthenticationService(Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ schemes, Microsoft::AspNetCore::Authentication::IAuthenticationHandlerProvider ^ handlers, Microsoft::AspNetCore::Authentication::IClaimsTransformation ^ transform, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Authentication::AuthenticationOptions ^> ^ options);
C#
public AuthenticationService (Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes, Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider handlers, Microsoft.AspNetCore.Authentication.IClaimsTransformation transform, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> options);
new Microsoft.AspNetCore.Authentication.AuthenticationService : Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider * Microsoft.AspNetCore.Authentication.IClaimsTransformation * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationService
Public Sub New (schemes As IAuthenticationSchemeProvider, handlers As IAuthenticationHandlerProvider, transform As IClaimsTransformation, options As IOptions(Of AuthenticationOptions))
Parameters
- handlers
- IAuthenticationHandlerProvider
- transform
- IClaimsTransformation
- options
- IOptions<AuthenticationOptions>
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |