Share via


AuthenticationManager.ChallengeAsync 方法

定義

多載

ChallengeAsync()
ChallengeAsync(AuthenticationProperties)
ChallengeAsync(String)
ChallengeAsync(String, AuthenticationProperties)
ChallengeAsync(String, AuthenticationProperties, ChallengeBehavior)

ChallengeAsync()

來源:
AuthenticationManager.cs
來源:
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)

來源:
AuthenticationManager.cs
來源:
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

參數

傳回

適用於

ChallengeAsync(String)

來源:
AuthenticationManager.cs
來源:
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)

來源:
AuthenticationManager.cs
來源:
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

傳回

適用於

ChallengeAsync(String, AuthenticationProperties, ChallengeBehavior)

來源:
AuthenticationManager.cs
來源:
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

傳回

適用於