OAuthEvents 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
默认实现。
public ref class OAuthEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents, Microsoft::AspNetCore::Authentication::OAuth::IOAuthEvents
public ref class OAuthEvents : Microsoft::AspNetCore::Authentication::RemoteAuthenticationEvents
public class OAuthEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents, Microsoft.AspNetCore.Authentication.OAuth.IOAuthEvents
public class OAuthEvents : Microsoft.AspNetCore.Authentication.RemoteAuthenticationEvents
type OAuthEvents = class
inherit RemoteAuthenticationEvents
interface IOAuthEvents
interface IRemoteAuthenticationEvents
type OAuthEvents = class
inherit RemoteAuthenticationEvents
Public Class OAuthEvents
Inherits RemoteAuthenticationEvents
Implements IOAuthEvents
Public Class OAuthEvents
Inherits RemoteAuthenticationEvents
- 继承
- 实现
构造函数
| OAuthEvents() |
默认实现。 |
属性
| OnAccessDenied |
在远程服务器返回访问被拒绝错误时调用。 (继承自 RemoteAuthenticationEvents) |
| OnCreatingTicket |
获取或设置在调用 CreateTicket 方法时调用的函数。 |
| OnRedirectToAuthorizationEndpoint |
获取或设置在调用 RedirectToAuthorizationEndpoint 方法时调用的委托。 |
| OnRemoteFailure |
在发生远程故障时调用。 (继承自 RemoteAuthenticationEvents) |
| OnTicketReceived |
在收到远程票证后调用。 (继承自 RemoteAuthenticationEvents) |
方法
| AccessDenied(AccessDeniedContext) |
在远程服务器返回访问被拒绝错误时调用。 (继承自 RemoteAuthenticationEvents) |
| CreatingTicket(OAuthCreatingTicketContext) |
在提供程序成功对用户进行身份验证后调用。 |
| RedirectToAuthorizationEndpoint(OAuthRedirectToAuthorizationContext) |
当质询导致重定向授权 OAuth 中间件中的终结点时调用。 |
| RedirectToAuthorizationEndpoint(RedirectContext<OAuthOptions>) |
当质询导致重定向授权 OAuth 处理程序中的终结点时调用。 |
| RemoteFailure(FailureContext) |
发生远程故障时调用 (继承自 RemoteAuthenticationEvents) |
| RemoteFailure(RemoteFailureContext) |
在发生远程故障时调用。 (继承自 RemoteAuthenticationEvents) |
| TicketReceived(TicketReceivedContext) |
在收到远程票证后调用。 (继承自 RemoteAuthenticationEvents) |