AuthorizationCodeCredential コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
AuthorizationCodeCredential() |
モック作成用の保護されたコンストラクター。 |
AuthorizationCodeCredential(String, String, String, String) |
プリフェッチされた承認コードを使用して、Microsoft Entra ID に対する認証に必要な詳細を含む ClientSecretCredential のインスタンスを作成します。 |
AuthorizationCodeCredential(String, String, String, String, AuthorizationCodeCredentialOptions) |
プリフェッチされた承認コードを使用して、Microsoft Entra ID に対する認証に必要な詳細を含む ClientSecretCredential のインスタンスを作成します。 |
AuthorizationCodeCredential()
モック作成用の保護されたコンストラクター。
protected AuthorizationCodeCredential ();
Protected Sub New ()
適用対象
AuthorizationCodeCredential(String, String, String, String)
プリフェッチされた承認コードを使用して、Microsoft Entra ID に対する認証に必要な詳細を含む ClientSecretCredential のインスタンスを作成します。
public AuthorizationCodeCredential (string tenantId, string clientId, string clientSecret, string authorizationCode);
new Azure.Identity.AuthorizationCodeCredential : string * string * string * string -> Azure.Identity.AuthorizationCodeCredential
Public Sub New (tenantId As String, clientId As String, clientSecret As String, authorizationCode As String)
パラメーター
- tenantId
- String
サービス プリンシパルの Azure Active Directory テナント (ディレクトリ) ID。
- clientId
- String
サービス プリンシパルのクライアント (アプリケーション) ID
- clientSecret
- String
クライアントの認証に使用されるアプリ登録用に生成されたクライアント シークレット。
- authorizationCode
- String
承認の呼び出しから取得した承認コード。 コードは、必要なすべてのスコープで取得する必要があります。 詳細については、「 https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow 」を参照してください。
適用対象
AuthorizationCodeCredential(String, String, String, String, AuthorizationCodeCredentialOptions)
プリフェッチされた承認コードを使用して、Microsoft Entra ID に対する認証に必要な詳細を含む ClientSecretCredential のインスタンスを作成します。
public AuthorizationCodeCredential (string tenantId, string clientId, string clientSecret, string authorizationCode, Azure.Identity.AuthorizationCodeCredentialOptions options);
new Azure.Identity.AuthorizationCodeCredential : string * string * string * string * Azure.Identity.AuthorizationCodeCredentialOptions -> Azure.Identity.AuthorizationCodeCredential
Public Sub New (tenantId As String, clientId As String, clientSecret As String, authorizationCode As String, options As AuthorizationCodeCredentialOptions)
パラメーター
- tenantId
- String
サービス プリンシパルの Azure Active Directory テナント (ディレクトリ) ID。
- clientId
- String
サービス プリンシパルのクライアント (アプリケーション) ID
- clientSecret
- String
クライアントの認証に使用されるアプリ登録用に生成されたクライアント シークレット。
- authorizationCode
- String
承認の呼び出しから取得した承認コード。 コードは、必要なすべてのスコープで取得する必要があります。 詳細については、「 https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow 」を参照してください。
Azure Active Directory サービスに送信される要求の管理を構成できるオプション。
適用対象
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示