你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureActiveDirectoryOpenIdConnectAuthenticationProvider.Authenticated 方法

定义

每次请求标识已由中间件验证时调用。 使应用程序有机会更改或拒绝随请求一起到达的标识。

public System.Threading.Tasks.Task Authenticated (Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectory.AzureActiveDirectoryOpenIdConnectAuthenticatedContext context);
abstract member Authenticated : Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectory.AzureActiveDirectoryOpenIdConnectAuthenticatedContext -> System.Threading.Tasks.Task
override this.Authenticated : Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectory.AzureActiveDirectoryOpenIdConnectAuthenticatedContext -> System.Threading.Tasks.Task
Public Function Authenticated (context As AzureActiveDirectoryOpenIdConnectAuthenticatedContext) As Task

参数

context
AzureActiveDirectoryOpenIdConnectAuthenticatedContext

包含有关登录会话以及用户 ClaimsIdentity的信息。

返回

一个 Task ,表示已完成的操作。

实现

适用于