共用方式為


OAuthHandler<TOptions>.BuildChallengeUrl 方法

定義

多載

BuildChallengeUrl(AuthenticationProperties, String)

建構 OAuth 挑戰 URL。

BuildChallengeUrl(AuthenticationProperties, String)

BuildChallengeUrl(AuthenticationProperties, String)

來源:
OAuthHandler.cs
來源:
OAuthHandler.cs
來源:
OAuthHandler.cs

建構 OAuth 挑戰 URL。

protected:
 virtual System::String ^ BuildChallengeUrl(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ redirectUri);
protected virtual string BuildChallengeUrl (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string redirectUri);
abstract member BuildChallengeUrl : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> string
override this.BuildChallengeUrl : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> string
Protected Overridable Function BuildChallengeUrl (properties As AuthenticationProperties, redirectUri As String) As String

參數

redirectUri
String

完成挑戰之後,要重新導向至 的 URL。

傳回

挑戰 URL。

適用於

BuildChallengeUrl(AuthenticationProperties, String)

protected:
 virtual System::String ^ BuildChallengeUrl(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::String ^ redirectUri);
protected virtual string BuildChallengeUrl (Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, string redirectUri);
abstract member BuildChallengeUrl : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> string
override this.BuildChallengeUrl : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> string
Protected Overridable Function BuildChallengeUrl (properties As AuthenticationProperties, redirectUri As String) As String

參數

redirectUri
String

傳回

適用於