你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureActiveDirectoryOpenIdConnectAuthenticationProvider 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供 由 AzureActiveDirectoryExtendedLoginProvider使用的专用 Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider 。
public class AzureActiveDirectoryOpenIdConnectAuthenticationProvider : Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectoryLoginAuthenticationProvider, Microsoft.WindowsAzure.Mobile.Service.Security.Providers.AzureActiveDirectory.IAzureActiveDirectoryOpenIdConnectAuthenticationProvider
type AzureActiveDirectoryOpenIdConnectAuthenticationProvider = class
inherit AzureActiveDirectoryLoginAuthenticationProvider
interface IAzureActiveDirectoryOpenIdConnectAuthenticationProvider
Public Class AzureActiveDirectoryOpenIdConnectAuthenticationProvider
Inherits AzureActiveDirectoryLoginAuthenticationProvider
Implements IAzureActiveDirectoryOpenIdConnectAuthenticationProvider
- 继承
-
Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProviderAzureActiveDirectoryOpenIdConnectAuthenticationProvider
- 实现
构造函数
属性
Config |
与此实例关联的 System.Web.Http.HttpConfiguration。 (继承自 AzureActiveDirectoryLoginAuthenticationProvider) |
Tenants |
应允许的租户集合。 (继承自 AzureActiveDirectoryLoginAuthenticationProvider) |
方法
Authenticated(AzureActiveDirectoryOpenIdConnectAuthenticatedContext) |
每次请求标识已由中间件验证时调用。 使应用程序有机会更改或拒绝随请求一起到达的标识。 |
GetTenantIssuer(HttpClient, String) |
返回指定租户的颁发者。 (继承自 AzureActiveDirectoryLoginAuthenticationProvider) |
InitializeTokenIssuers() |
通过请求令牌颁发者初始化令牌颁发者 (继承自 AzureActiveDirectoryLoginAuthenticationProvider) |
RequestToken(OAuthRequestTokenContext) |
提供 由 AzureActiveDirectoryExtendedLoginProvider使用的专用 Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider 。 (继承自 AzureActiveDirectoryLoginAuthenticationProvider) |
UpdateTokenContext(OAuthRequestTokenContext) |
从 |
ValidateIdentity(OAuthValidateIdentityContext) |
提供 由 AzureActiveDirectoryExtendedLoginProvider使用的专用 Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider 。 (继承自 AzureActiveDirectoryLoginAuthenticationProvider) |
ValidateTokenIssuer(ClaimsIdentity) |
验证标识租户颁发者是否位于由为此服务配置的租户集确定的允许集中。 (继承自 AzureActiveDirectoryLoginAuthenticationProvider) |
显式接口实现
IAzureActiveDirectoryOpenIdConnectAuthenticationProvider.RequestToken(AzureActiveDirectoryOpenIdConnectRequestTokenContext) |
在创建 之前 ClaimsIdentity 调用。 使应用程序有机会从其他位置查找标识、调整或拒绝令牌。 |