OAuthMiddleware<TOptions> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用 OAuth 服務驗證使用者的 ASP.NET Core中介軟體。
generic <typename TOptions>
where TOptions : OAuthOptionsgcnew()public ref class OAuthMiddleware : Microsoft::AspNetCore::Authentication::AuthenticationMiddleware<TOptions>
public class OAuthMiddleware<TOptions> : Microsoft.AspNetCore.Authentication.AuthenticationMiddleware<TOptions> where TOptions : OAuthOptions, new()
type OAuthMiddleware<'Options (requires 'Options :> OAuthOptions and 'Options : (new : unit -> 'Options))> = class
inherit AuthenticationMiddleware<'Options (requires 'Options :> OAuthOptions and 'Options : (new : unit -> 'Options))>
Public Class OAuthMiddleware(Of TOptions)
Inherits AuthenticationMiddleware(Of TOptions)
類型參數
- TOptions
- 繼承
- 衍生
建構函式
| OAuthMiddleware<TOptions>(RequestDelegate, IDataProtectionProvider, ILoggerFactory, UrlEncoder, IOptions<SharedAuthenticationOptions>, IOptions<TOptions>) |
初始化新的 OAuthMiddleware<TOptions>。 |
屬性
| AuthenticationScheme |
使用 OAuth 服務驗證使用者的 ASP.NET Core中介軟體。 (繼承來源 AuthenticationMiddleware<TOptions>) |
| Backchannel |
使用 OAuth 服務驗證使用者的 ASP.NET Core中介軟體。 |
| Logger |
使用 OAuth 服務驗證使用者的 ASP.NET Core中介軟體。 (繼承來源 AuthenticationMiddleware<TOptions>) |
| Options |
使用 OAuth 服務驗證使用者的 ASP.NET Core中介軟體。 (繼承來源 AuthenticationMiddleware<TOptions>) |
| UrlEncoder |
使用 OAuth 服務驗證使用者的 ASP.NET Core中介軟體。 (繼承來源 AuthenticationMiddleware<TOptions>) |
方法
| CreateHandler() |
AuthenticationHandler<TOptions>提供 物件來處理驗證相關要求。 |
| Invoke(HttpContext) |
使用 OAuth 服務驗證使用者的 ASP.NET Core中介軟體。 (繼承來源 AuthenticationMiddleware<TOptions>) |