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

AzureActiveDirectoryOpenIdConnectAuthenticationProvider 类

定义

提供 由 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.OAuthBearerAuthenticationProvider
AzureActiveDirectoryOpenIdConnectAuthenticationProvider
实现

构造函数

AzureActiveDirectoryOpenIdConnectAuthenticationProvider(HttpConfiguration)

在没有租户颁发者验证的情况下初始化 类的新实例 AzureActiveDirectoryLoginAuthenticationProvider

AzureActiveDirectoryOpenIdConnectAuthenticationProvider(HttpConfiguration, IEnumerable<String>)

使用租户颁发者验证初始化 类的新实例 AzureActiveDirectoryLoginAuthenticationProvider

属性

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)

Authorization HTTP 标头字段或请求正文获取令牌。

(继承自 AzureActiveDirectoryLoginAuthenticationProvider)
ValidateIdentity(OAuthValidateIdentityContext)

提供 由 AzureActiveDirectoryExtendedLoginProvider使用的专用 Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider

(继承自 AzureActiveDirectoryLoginAuthenticationProvider)
ValidateTokenIssuer(ClaimsIdentity)

验证标识租户颁发者是否位于由为此服务配置的租户集确定的允许集中。

(继承自 AzureActiveDirectoryLoginAuthenticationProvider)

显式接口实现

IAzureActiveDirectoryOpenIdConnectAuthenticationProvider.RequestToken(AzureActiveDirectoryOpenIdConnectRequestTokenContext)

在创建 之前 ClaimsIdentity 调用。 使应用程序有机会从其他位置查找标识、调整或拒绝令牌。

适用于