SiteAuthSettingsInner コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
SiteAuthSettingsInner()
SiteAuthSettingsInner クラスの新しいインスタンスを初期化します。
public SiteAuthSettingsInner ();
Public Sub New ()
適用対象
SiteAuthSettingsInner(String, String, String, String, Nullable<Boolean>, String, Nullable<UnauthenticatedClientAction>, Nullable<Boolean>, IList<String>, Nullable<BuiltInAuthenticationProvider>, Nullable<Double>, String, String, String, String, Nullable<Boolean>, IList<String>, IList<String>, String, String, IList<String>, String, String, IList<String>, String, String, String, String, IList<String>)
SiteAuthSettingsInner クラスの新しいインスタンスを初期化します。
public SiteAuthSettingsInner (string id = default, string name = default, string type = default, string kind = default, bool? enabled = default, string runtimeVersion = default, Microsoft.Azure.Management.AppService.Fluent.Models.UnauthenticatedClientAction? unauthenticatedClientAction = default, bool? tokenStoreEnabled = default, System.Collections.Generic.IList<string> allowedExternalRedirectUrls = default, Microsoft.Azure.Management.AppService.Fluent.Models.BuiltInAuthenticationProvider? defaultProvider = default, double? tokenRefreshExtensionHours = default, string clientId = default, string clientSecret = default, string clientSecretCertificateThumbprint = default, string issuer = default, bool? validateIssuer = default, System.Collections.Generic.IList<string> allowedAudiences = default, System.Collections.Generic.IList<string> additionalLoginParams = default, string googleClientId = default, string googleClientSecret = default, System.Collections.Generic.IList<string> googleOAuthScopes = default, string facebookAppId = default, string facebookAppSecret = default, System.Collections.Generic.IList<string> facebookOAuthScopes = default, string twitterConsumerKey = default, string twitterConsumerSecret = default, string microsoftAccountClientId = default, string microsoftAccountClientSecret = default, System.Collections.Generic.IList<string> microsoftAccountOAuthScopes = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.SiteAuthSettingsInner : string * string * string * string * Nullable<bool> * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.UnauthenticatedClientAction> * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.BuiltInAuthenticationProvider> * Nullable<double> * string * string * string * string * Nullable<bool> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.IList<string> * string * string * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.AppService.Fluent.Models.SiteAuthSettingsInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional runtimeVersion As String = Nothing, Optional unauthenticatedClientAction As Nullable(Of UnauthenticatedClientAction) = Nothing, Optional tokenStoreEnabled As Nullable(Of Boolean) = Nothing, Optional allowedExternalRedirectUrls As IList(Of String) = Nothing, Optional defaultProvider As Nullable(Of BuiltInAuthenticationProvider) = Nothing, Optional tokenRefreshExtensionHours As Nullable(Of Double) = Nothing, Optional clientId As String = Nothing, Optional clientSecret As String = Nothing, Optional clientSecretCertificateThumbprint As String = Nothing, Optional issuer As String = Nothing, Optional validateIssuer As Nullable(Of Boolean) = Nothing, Optional allowedAudiences As IList(Of String) = Nothing, Optional additionalLoginParams As IList(Of String) = Nothing, Optional googleClientId As String = Nothing, Optional googleClientSecret As String = Nothing, Optional googleOAuthScopes As IList(Of String) = Nothing, Optional facebookAppId As String = Nothing, Optional facebookAppSecret As String = Nothing, Optional facebookOAuthScopes As IList(Of String) = Nothing, Optional twitterConsumerKey As String = Nothing, Optional twitterConsumerSecret As String = Nothing, Optional microsoftAccountClientId As String = Nothing, Optional microsoftAccountClientSecret As String = Nothing, Optional microsoftAccountOAuthScopes As IList(Of String) = Nothing)
パラメーター
- id
- String
- name
- String
- type
- String
- kind
- String
リソースの種類。
<現在>のアプリに対して認証/承認機能が有効になっている場合はコード true</code>。<それ以外の場合は false</code を>コード>化します。
- runtimeVersion
- String
現在のアプリで使用されている認証/承認機能の RuntimeVersion。 この値の設定は、認証/承認モジュールの特定の機能の動作を制御できます。
- unauthenticatedClientAction
- Nullable<UnauthenticatedClientAction>
認証されていないクライアントがアプリへのアクセスを試みたときに実行するアクション。 使用可能な値は、'RedirectToLoginPage'、'AllowAnonymous' です。
<ログイン>フロー中に取得されたプラットフォーム固有のセキュリティ トークンを永続的に格納するコード true</code>。それ以外の場合は、<false</code を>コード>化します。 既定値は <コード>false</code> です。
アプリのログインまたはログアウトの一環として にリダイレクトできる外部 URL。 URL のクエリ文字列部分は無視されることに注意してください。 これは、通常、Windows ストア アプリケーション バックエンドでのみ必要な詳細設定です。 現在のドメイン内の URL は常に暗黙的に許可されることに注意してください。
- defaultProvider
- Nullable<BuiltInAuthenticationProvider>
複数のプロバイダーが構成されている場合に使用する既定の認証プロバイダー。 この設定は、複数のプロバイダーが構成されていて、認証されていないクライアント アクションが "RedirectToLoginPage" に設定されている場合にのみ必要です。 使用できる値は、'AzureActiveDirectory'、'Facebook'、'Google'、'MicrosoftAccount'、'Twitter' です。
セッション トークンの有効期限が切れた後、セッション トークンを使用してトークン更新 API を呼び出すことができる時間数。 既定値は 72 時間です。
- clientId
- String
この証明書利用者アプリケーションのクライアント ID (client_idと呼ばれます)。 この設定は、Azure Active Directory または他のサードパーティの OpenID Connect プロバイダーで OpenID 接続認証を有効にするために必要です。 OpenID Connect の詳細については、以下を参照してください。 http://openid.net/specs/openid-connect-core-1_0.html
- clientSecret
- String
この証明書利用者アプリケーションのクライアント シークレット (Azure Active Directory では、これはキーとも呼ばれます)。 この設定はオプションです。 クライアント シークレットが構成されていない場合は、OpenID Connect の暗黙的な認証フローを使用してエンド ユーザーを認証します。 それ以外の場合は、OpenID Connect 承認コード フローを使用してエンド ユーザーを認証します。 OpenID Connect の詳細については、以下を参照してください。 http://openid.net/specs/openid-connect-core-1_0.html
- clientSecretCertificateThumbprint
- String
クライアント シークレットの代わりに、署名目的で使用される証明書の拇印です。 このプロパティは、クライアント シークレットの代わりに機能します。 また、省略可能です。
- issuer
- String
このアプリケーションのアクセス トークンを発行するエンティティを表す OpenID Connect 発行者 URI。 Azure Active Directory を使用する場合、この値はディレクトリ テナントの URI です (例: )。 https://sts.windows.net/{tenant-guid}/ この URI は、トークン発行者の大文字と小文字を区別する識別子です。 OpenID Connect Discovery の詳細については、以下を参照してください。 http://openid.net/specs/openid-connect-discovery-1_0.html
Azure Active Directory によって発行された JWT を検証するときに考慮する対象ユーザーの値を許可します。 この設定に <関係なく、コード>ClientID</code> 値は常に許可対象ユーザーと見なされることに注意してください。
ユーザーがログインしたときに OpenID Connect 承認エンドポイントに送信するログイン パラメーター。 各パラメーターは、"key=value" 形式である必要があります。
- googleClientId
- String
Google Web アプリケーションの OpenID Connect クライアント ID。 この設定は、Google サインインを有効にするために必要です。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/
- googleClientSecret
- String
Google Web アプリケーションに関連付けられているクライアント シークレット。 この設定は、Google サインインを有効にするために必要です。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/
Google Sign-In認証の一部として要求される OAuth 2.0 スコープ。 この設定はオプションです。 指定しない場合は、"openid"、"profile"、および "email" が既定のスコープとして使用されます。 Google Sign-In ドキュメント: https://developers.google.com/identity/sign-in/web/
- facebookAppId
- String
ログインに使用される Facebook アプリのアプリ ID。 この設定は、Facebook ログインを有効にするために必要です。 Facebook ログインに関するドキュメント: https://developers.facebook.com/docs/facebook-login
- facebookAppSecret
- String
Facebook ログインに使用される Facebook アプリのアプリ シークレット。 この設定は、Facebook ログインを有効にするために必要です。 Facebook ログインに関するドキュメント: https://developers.facebook.com/docs/facebook-login
Facebook ログイン認証の一部として要求される OAuth 2.0 スコープ。 この設定はオプションです。 Facebook ログインに関するドキュメント: https://developers.facebook.com/docs/facebook-login
- twitterConsumerKey
- String
サインインに使用される Twitter アプリケーションの OAuth 1.0a コンシューマー キー。 この設定は、Twitter サインインを有効にするために必要です。 Twitter Sign-Inドキュメント: https://dev.twitter.com/web/sign-in
- twitterConsumerSecret
- String
サインインに使用される Twitter アプリケーションの OAuth 1.0a コンシューマー シークレット。 この設定は、Twitter サインインを有効にするために必要です。 Twitter Sign-Inドキュメント: https://dev.twitter.com/web/sign-in
- microsoftAccountClientId
- String
認証に使用されるアプリ用に作成された OAuth 2.0 クライアント ID。 この設定は、Microsoft アカウント認証を有効にするために必要です。 Microsoft アカウント OAuth のドキュメント: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoftAccountClientSecret
- String
認証に使用されるアプリ用に作成された OAuth 2.0 クライアント シークレット。 この設定は、Microsoft アカウント認証を有効にするために必要です。 Microsoft アカウント OAuth のドキュメント: https://dev.onedrive.com/auth/msa_oauth.htm
Microsoft アカウント認証の一部として要求される OAuth 2.0 スコープ。 この設定はオプションです。 指定しない場合は、既定のスコープとして "wl.basic" が使用されます。 Microsoft アカウントのスコープとアクセス許可に関するドキュメント: https://msdn.microsoft.com/en-us/library/dn631845.aspx
適用対象
Azure SDK for .NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示