OAuthHandler<TOptions>.BuildChallengeUrl 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
BuildChallengeUrl(AuthenticationProperties, String) |
建構 OAuth 挑戰 URL。 |
BuildChallengeUrl(AuthenticationProperties, String) |
BuildChallengeUrl(AuthenticationProperties, String)
建構 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
參數
- properties
- AuthenticationProperties
- 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
參數
- properties
- AuthenticationProperties
- redirectUri
- String