次の方法で共有


AzureActiveDirectoryOpenIdConnectAuthenticationProvider クラス

定義

によって使用される特殊化された Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider を提供します AzureActiveDirectoryExtendedLoginProvider

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)

ミドルウェアによって要求 ID が検証されるたびに呼び出されます 要求と共に到着した ID を変更または拒否する機会をアプリケーションに提供します。

GetTenantIssuer(HttpClient, String)

指定したテナントの発行者を返します。

(継承元 AzureActiveDirectoryLoginAuthenticationProvider)
InitializeTokenIssuers()

トークン発行者を要求してトークン発行者を初期化します

(継承元 AzureActiveDirectoryLoginAuthenticationProvider)
RequestToken(OAuthRequestTokenContext)

によって使用される特殊化された Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider を提供します AzureActiveDirectoryExtendedLoginProvider

(継承元 AzureActiveDirectoryLoginAuthenticationProvider)
UpdateTokenContext(OAuthRequestTokenContext)

HTTP ヘッダー フィールドまたは要求本文から Authorization トークンを取得します。

(継承元 AzureActiveDirectoryLoginAuthenticationProvider)
ValidateIdentity(OAuthValidateIdentityContext)

によって使用される特殊化された Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationProvider を提供します AzureActiveDirectoryExtendedLoginProvider

(継承元 AzureActiveDirectoryLoginAuthenticationProvider)
ValidateTokenIssuer(ClaimsIdentity)

ID テナントの発行者が、このサービス用に構成されたテナントのセットによって決定される許可セット内にあることを確認します。

(継承元 AzureActiveDirectoryLoginAuthenticationProvider)

明示的なインターフェイスの実装

IAzureActiveDirectoryOpenIdConnectAuthenticationProvider.RequestToken(AzureActiveDirectoryOpenIdConnectRequestTokenContext)

が作成される前に ClaimsIdentity 呼び出されます。 アプリケーションに、別の場所から ID を検索し、トークンを調整または拒否する機会を与えます。

適用対象