OAuthHandler<TOptions>.BuildChallengeUrl 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
BuildChallengeUrl(AuthenticationProperties, String) |
构造 OAuth 质询 URL。 |
BuildChallengeUrl(AuthenticationProperties, String) |
BuildChallengeUrl(AuthenticationProperties, String)
- Source:
- OAuthHandler.cs
- Source:
- OAuthHandler.cs
- Source:
- 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
参数
- 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