Share via


OnBehalfOfCredential コンストラクター

定義

オーバーロード

OnBehalfOfCredential()

モック作成用の保護されたコンストラクター。

OnBehalfOfCredential(String, String, X509Certificate2, String)

指定した証明書を使用して、Microsoft Entra ID に対する認証に必要な詳細を含む のインスタンスOnBehalfOfCredentialを作成します。

OnBehalfOfCredential(String, String, String, String)

MICROSOFT ENTRA ID で認証するために必要な詳細を含む のOnBehalfOfCredentialインスタンスを作成します。

OnBehalfOfCredential(String, String, X509Certificate2, String, OnBehalfOfCredentialOptions)

指定した証明書を使用して、Microsoft Entra ID に対する認証に必要な詳細を含む のインスタンスOnBehalfOfCredentialを作成します。

OnBehalfOfCredential(String, String, String, String, OnBehalfOfCredentialOptions)

MICROSOFT ENTRA ID で認証するために必要な詳細を含む のOnBehalfOfCredentialインスタンスを作成します。

OnBehalfOfCredential()

ソース:
OnBehalfOfCredential.cs
ソース:
OnBehalfOfCredential.cs

モック作成用の保護されたコンストラクター。

protected OnBehalfOfCredential ();
Protected Sub New ()

適用対象

OnBehalfOfCredential(String, String, X509Certificate2, String)

ソース:
OnBehalfOfCredential.cs
ソース:
OnBehalfOfCredential.cs

指定した証明書を使用して、Microsoft Entra ID に対する認証に必要な詳細を含む のインスタンスOnBehalfOfCredentialを作成します。

public OnBehalfOfCredential (string tenantId, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, string userAssertion);
new Azure.Identity.OnBehalfOfCredential : string * string * System.Security.Cryptography.X509Certificates.X509Certificate2 * string -> Azure.Identity.OnBehalfOfCredential
Public Sub New (tenantId As String, clientId As String, clientCertificate As X509Certificate2, userAssertion As String)

パラメーター

tenantId
String

サービス プリンシパルのMicrosoft Entra テナント (ディレクトリ) ID。

clientId
String

サービス プリンシパルのクライアント (アプリケーション) ID

clientCertificate
X509Certificate2

サービス プリンシパルの認証 X509 証明書

userAssertion
String

On-Behalf-Of トークンを要求するときにユーザー アサーションとして によって OnBehalfOfCredential 使用されるアクセス トークン。

適用対象

OnBehalfOfCredential(String, String, String, String)

ソース:
OnBehalfOfCredential.cs
ソース:
OnBehalfOfCredential.cs

MICROSOFT ENTRA ID で認証するために必要な詳細を含む のOnBehalfOfCredentialインスタンスを作成します。

public OnBehalfOfCredential (string tenantId, string clientId, string clientSecret, string userAssertion);
new Azure.Identity.OnBehalfOfCredential : string * string * string * string -> Azure.Identity.OnBehalfOfCredential
Public Sub New (tenantId As String, clientId As String, clientSecret As String, userAssertion As String)

パラメーター

tenantId
String

サービス プリンシパルのMicrosoft Entra テナント (ディレクトリ) ID。

clientId
String

サービス プリンシパルのクライアント (アプリケーション) ID

clientSecret
String

クライアントの認証に使用されるアプリ登録用に生成されたクライアント シークレット。

userAssertion
String

On-Behalf-Of トークンを要求するときにユーザー アサーションとして によって OnBehalfOfCredential 使用されるアクセス トークン。

適用対象

OnBehalfOfCredential(String, String, X509Certificate2, String, OnBehalfOfCredentialOptions)

ソース:
OnBehalfOfCredential.cs
ソース:
OnBehalfOfCredential.cs

指定した証明書を使用して、Microsoft Entra ID に対する認証に必要な詳細を含む のインスタンスOnBehalfOfCredentialを作成します。

public OnBehalfOfCredential (string tenantId, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, string userAssertion, Azure.Identity.OnBehalfOfCredentialOptions options);
new Azure.Identity.OnBehalfOfCredential : string * string * System.Security.Cryptography.X509Certificates.X509Certificate2 * string * Azure.Identity.OnBehalfOfCredentialOptions -> Azure.Identity.OnBehalfOfCredential
Public Sub New (tenantId As String, clientId As String, clientCertificate As X509Certificate2, userAssertion As String, options As OnBehalfOfCredentialOptions)

パラメーター

tenantId
String

サービス プリンシパルのMicrosoft Entra テナント (ディレクトリ) ID。

clientId
String

サービス プリンシパルのクライアント (アプリケーション) ID

clientCertificate
X509Certificate2

サービス プリンシパルの認証 X509 証明書

userAssertion
String

On-Behalf-Of トークンを要求するときにユーザー アサーションとして によって OnBehalfOfCredential 使用されるアクセス トークン。

options
OnBehalfOfCredentialOptions

Microsoft Entra ID に送信される要求の管理を構成できるオプション。

適用対象

OnBehalfOfCredential(String, String, String, String, OnBehalfOfCredentialOptions)

ソース:
OnBehalfOfCredential.cs
ソース:
OnBehalfOfCredential.cs

MICROSOFT ENTRA ID で認証するために必要な詳細を含む のOnBehalfOfCredentialインスタンスを作成します。

public OnBehalfOfCredential (string tenantId, string clientId, string clientSecret, string userAssertion, Azure.Identity.OnBehalfOfCredentialOptions options);
new Azure.Identity.OnBehalfOfCredential : string * string * string * string * Azure.Identity.OnBehalfOfCredentialOptions -> Azure.Identity.OnBehalfOfCredential
Public Sub New (tenantId As String, clientId As String, clientSecret As String, userAssertion As String, options As OnBehalfOfCredentialOptions)

パラメーター

tenantId
String

サービス プリンシパルのMicrosoft Entra テナント (ディレクトリ) ID。

clientId
String

サービス プリンシパルのクライアント (アプリケーション) ID

clientSecret
String

クライアントの認証に使用されるアプリ登録用に生成されたクライアント シークレット。

userAssertion
String

On-Behalf-Of トークンを要求するときにユーザー アサーションとして によって OnBehalfOfCredential 使用されるアクセス トークン。

options
OnBehalfOfCredentialOptions

Microsoft Entra ID に送信される要求の管理を構成できるオプション。

適用対象