AuthenticationManager.AuthenticateAsync Method
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.
Overloads
AuthenticateAsync(AuthenticateContext) | |
AuthenticateAsync(String) |
AuthenticateAsync(AuthenticateContext)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
abstract System::Threading::Tasks::Task ^ AuthenticateAsync(Microsoft::AspNetCore::Http::Features::Authentication::AuthenticateContext ^ context);
public abstract System.Threading.Tasks.Task AuthenticateAsync (Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext context);
abstract member AuthenticateAsync : Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext -> System.Threading.Tasks.Task
Public MustOverride Function AuthenticateAsync (context As AuthenticateContext) As Task
Parameters
- context
- AuthenticateContext
Returns
Applies to
AuthenticateAsync(String)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
virtual System::Threading::Tasks::Task<System::Security::Claims::ClaimsPrincipal ^> ^ AuthenticateAsync(System::String ^ authenticationScheme);
public virtual System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal> AuthenticateAsync (string authenticationScheme);
abstract member AuthenticateAsync : string -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal>
override this.AuthenticateAsync : string -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal>
Public Overridable Function AuthenticateAsync (authenticationScheme As String) As Task(Of ClaimsPrincipal)
Parameters
- authenticationScheme
- String