AuthenticationManager.ChallengeAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ChallengeAsync() | |
ChallengeAsync(AuthenticationProperties) | |
ChallengeAsync(String) | |
ChallengeAsync(String, AuthenticationProperties) | |
ChallengeAsync(String, AuthenticationProperties, ChallengeBehavior) |
ChallengeAsync()
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
virtual System::Threading::Tasks::Task ^ ChallengeAsync();
public virtual System.Threading.Tasks.Task ChallengeAsync ();
abstract member ChallengeAsync : unit -> System.Threading.Tasks.Task
override this.ChallengeAsync : unit -> System.Threading.Tasks.Task
Public Overridable Function ChallengeAsync () As Task
返回
适用于
ChallengeAsync(AuthenticationProperties)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
virtual System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public virtual System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
abstract member ChallengeAsync : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.ChallengeAsync : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Overridable Function ChallengeAsync (properties As AuthenticationProperties) As Task
参数
- properties
- AuthenticationProperties
返回
适用于
ChallengeAsync(String)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
virtual System::Threading::Tasks::Task ^ ChallengeAsync(System::String ^ authenticationScheme);
public virtual System.Threading.Tasks.Task ChallengeAsync (string authenticationScheme);
abstract member ChallengeAsync : string -> System.Threading.Tasks.Task
override this.ChallengeAsync : string -> System.Threading.Tasks.Task
Public Overridable Function ChallengeAsync (authenticationScheme As String) As Task
参数
- authenticationScheme
- String
返回
适用于
ChallengeAsync(String, AuthenticationProperties)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
virtual System::Threading::Tasks::Task ^ ChallengeAsync(System::String ^ authenticationScheme, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public virtual System.Threading.Tasks.Task ChallengeAsync (string authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
abstract member ChallengeAsync : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.ChallengeAsync : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Overridable Function ChallengeAsync (authenticationScheme As String, properties As AuthenticationProperties) As Task
参数
- authenticationScheme
- String
- properties
- AuthenticationProperties
返回
适用于
ChallengeAsync(String, AuthenticationProperties, ChallengeBehavior)
- Source:
- AuthenticationManager.cs
- Source:
- AuthenticationManager.cs
public:
abstract System::Threading::Tasks::Task ^ ChallengeAsync(System::String ^ authenticationScheme, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::Features::Authentication::ChallengeBehavior behavior);
public abstract System.Threading.Tasks.Task ChallengeAsync (string authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.Features.Authentication.ChallengeBehavior behavior);
abstract member ChallengeAsync : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.Features.Authentication.ChallengeBehavior -> System.Threading.Tasks.Task
Public MustOverride Function ChallengeAsync (authenticationScheme As String, properties As AuthenticationProperties, behavior As ChallengeBehavior) As Task
参数
- authenticationScheme
- String
- properties
- AuthenticationProperties
- behavior
- ChallengeBehavior