{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-app-service/json-schema/microsoft-azure-app-service-site-auth-settings-v2-schema.json",
  "title": "SiteAuthSettingsV2",
  "description": "Configuration settings for the Azure App Service Authentication / Authorization V2 feature.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-app-service-web-apps-api-openapi.yml#/components/schemas/SiteAuthSettingsV2",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/SiteAuthSettingsV2Properties",
      "description": "SiteAuthSettingsV2 resource specific properties",
      "x-ms-client-flatten": true
    },
    "kind": {
      "type": "string",
      "description": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind."
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "AllowedAudiencesValidation": {
      "type": "object",
      "description": "The configuration settings of the Allowed Audiences validation flow.",
      "properties": {
        "allowedAudiences": {
          "type": "array",
          "description": "The configuration settings of the allowed list of audiences from which to validate the JWT token.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "AllowedPrincipals": {
      "type": "object",
      "description": "The configuration settings of the Azure Active Directory allowed principals.",
      "properties": {
        "groups": {
          "type": "array",
          "description": "The list of the allowed groups.",
          "items": {
            "type": "string"
          }
        },
        "identities": {
          "type": "array",
          "description": "The list of the allowed identities.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "AppRegistration": {
      "type": "object",
      "description": "The configuration settings of the app registration for providers that have app ids and app secrets",
      "properties": {
        "appId": {
          "type": "string",
          "description": "The App ID of the app used for login."
        },
        "appSecretSettingName": {
          "type": "string",
          "description": "The app setting name that contains the app secret."
        }
      }
    },
    "Apple": {
      "type": "object",
      "description": "The configuration settings of the Apple provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the Apple provider should not be enabled despite the set registration; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/AppleRegistration",
          "description": "The configuration settings of the Apple registration."
        },
        "login": {
          "$ref": "#/$defs/LoginScopes",
          "description": "The configuration settings of the login flow."
        }
      }
    },
    "AppleRegistration": {
      "type": "object",
      "description": "The configuration settings of the registration for the Apple provider",
      "properties": {
        "clientId": {
          "type": "string",
          "description": "The Client ID of the app used for login."
        },
        "clientSecretSettingName": {
          "type": "string",
          "description": "The app setting name that contains the client secret."
        }
      }
    },
    "AuthPlatform": {
      "type": "object",
      "description": "The configuration settings of the platform of App Service Authentication/Authorization.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>."
        },
        "runtimeVersion": {
          "type": "string",
          "description": "The RuntimeVersion of the Authentication / Authorization feature in use for the current app.\nThe setting in this value can control the behavior of certain features in the Authentication / Authorization module."
        },
        "configFilePath": {
          "type": "string",
          "description": "The path of the config file containing auth settings if they come from a file.\nIf the path is relative, base will the site's root directory."
        }
      }
    },
    "AzureActiveDirectory": {
      "type": "object",
      "description": "The configuration settings of the Azure Active directory provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/AzureActiveDirectoryRegistration",
          "description": "The configuration settings of the Azure Active Directory app registration."
        },
        "login": {
          "$ref": "#/$defs/AzureActiveDirectoryLogin",
          "description": "The configuration settings of the Azure Active Directory login flow."
        },
        "validation": {
          "$ref": "#/$defs/AzureActiveDirectoryValidation",
          "description": "The configuration settings of the Azure Active Directory token validation flow."
        },
        "isAutoProvisioned": {
          "type": "boolean",
          "description": "Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling.\nThis is an internal flag primarily intended to support the Azure Management Portal. Users should not\nread or write to this property."
        }
      }
    },
    "AzureActiveDirectoryLogin": {
      "type": "object",
      "description": "The configuration settings of the Azure Active Directory login flow.",
      "properties": {
        "loginParameters": {
          "type": "array",
          "description": "Login parameters to send to the OpenID Connect authorization endpoint when\na user logs in. Each parameter must be in the form \"key=value\".",
          "items": {
            "type": "string"
          }
        },
        "disableWWWAuthenticate": {
          "type": "boolean",
          "description": "<code>true</code> if the www-authenticate provider should be omitted from the request; otherwise, <code>false</code>."
        }
      }
    },
    "AzureActiveDirectoryRegistration": {
      "type": "object",
      "description": "The configuration settings of the Azure Active Directory app registration.",
      "properties": {
        "openIdIssuer": {
          "type": "string",
          "description": "The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\nWhen using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://login.microsoftonline.com/v2.0/{tenant-guid}/`.\nThis URI is a case-sensitive identifier for the token issuer.\nMore information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html"
        },
        "clientId": {
          "type": "string",
          "description": "The Client ID of this relying party application, known as the client_id.\nThis setting is required for enabling OpenID Connection authentication with Azure Active Directory or\nother 3rd party OpenID Connect providers.\nMore information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html"
        },
        "clientSecretSettingName": {
          "type": "string",
          "description": "The app setting name that contains the client secret of the relying party application."
        },
        "clientSecretCertificateThumbprint": {
          "type": "string",
          "description": "An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret. It is also optional."
        },
        "clientSecretCertificateSubjectAlternativeName": {
          "type": "string",
          "description": "An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional."
        },
        "clientSecretCertificateIssuer": {
          "type": "string",
          "description": "An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as\na replacement for the Client Secret Certificate Thumbprint. It is also optional."
        }
      }
    },
    "AzureActiveDirectoryValidation": {
      "type": "object",
      "description": "The configuration settings of the Azure Active Directory token validation flow.",
      "properties": {
        "jwtClaimChecks": {
          "$ref": "#/$defs/JwtClaimChecks",
          "description": "The configuration settings of the checks that should be made while validating the JWT Claims."
        },
        "allowedAudiences": {
          "type": "array",
          "description": "The list of audiences that can make successful authentication/authorization requests.",
          "items": {
            "type": "string"
          }
        },
        "defaultAuthorizationPolicy": {
          "$ref": "#/$defs/DefaultAuthorizationPolicy",
          "description": "The configuration settings of the default authorization policy."
        }
      }
    },
    "AzureStaticWebApps": {
      "type": "object",
      "description": "The configuration settings of the Azure Static Web Apps provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/AzureStaticWebAppsRegistration",
          "description": "The configuration settings of the Azure Static Web Apps registration."
        }
      }
    },
    "AzureStaticWebAppsRegistration": {
      "type": "object",
      "description": "The configuration settings of the registration for the Azure Static Web Apps provider",
      "properties": {
        "clientId": {
          "type": "string",
          "description": "The Client ID of the app used for login."
        }
      }
    },
    "BlobStorageTokenStore": {
      "type": "object",
      "description": "The configuration settings of the storage of the tokens if blob storage is used.",
      "properties": {
        "sasUrlSettingName": {
          "type": "string",
          "description": "The name of the app setting containing the SAS URL of the blob storage containing the tokens."
        }
      }
    },
    "ClientRegistration": {
      "type": "object",
      "description": "The configuration settings of the app registration for providers that have client ids and client secrets",
      "properties": {
        "clientId": {
          "type": "string",
          "description": "The Client ID of the app used for login."
        },
        "clientSecretSettingName": {
          "type": "string",
          "description": "The app setting name that contains the client secret."
        }
      }
    },
    "CookieExpiration": {
      "type": "object",
      "description": "The configuration settings of the session cookie's expiration.",
      "properties": {
        "convention": {
          "$ref": "#/$defs/CookieExpirationConvention",
          "description": "The convention used when determining the session cookie's expiration."
        },
        "timeToExpiration": {
          "type": "string",
          "description": "The time after the request is made when the session cookie should expire."
        }
      }
    },
    "CookieExpirationConvention": {
      "type": "string",
      "description": "The convention used when determining the session cookie's expiration.",
      "enum": [
        "FixedTime",
        "IdentityProviderDerived"
      ],
      "x-ms-enum": {
        "name": "CookieExpirationConvention",
        "modelAsString": false
      }
    },
    "CustomOpenIdConnectProvider": {
      "type": "object",
      "description": "The configuration settings of the custom Open ID Connect provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the custom Open ID provider provider should not be enabled; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/OpenIdConnectRegistration",
          "description": "The configuration settings of the app registration for the custom Open ID Connect provider."
        },
        "login": {
          "$ref": "#/$defs/OpenIdConnectLogin",
          "description": "The configuration settings of the login flow of the custom Open ID Connect provider."
        }
      }
    },
    "DefaultAuthorizationPolicy": {
      "type": "object",
      "description": "The configuration settings of the Azure Active Directory default authorization policy.",
      "properties": {
        "allowedPrincipals": {
          "$ref": "#/$defs/AllowedPrincipals",
          "description": "The configuration settings of the Azure Active Directory allowed principals."
        },
        "allowedApplications": {
          "type": "array",
          "description": "The configuration settings of the Azure Active Directory allowed applications.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Facebook": {
      "type": "object",
      "description": "The configuration settings of the Facebook provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the Facebook provider should not be enabled despite the set registration; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/AppRegistration",
          "description": "The configuration settings of the app registration for the Facebook provider."
        },
        "graphApiVersion": {
          "type": "string",
          "description": "The version of the Facebook api to be used while logging in."
        },
        "login": {
          "$ref": "#/$defs/LoginScopes",
          "description": "The configuration settings of the login flow."
        }
      }
    },
    "FileSystemTokenStore": {
      "type": "object",
      "description": "The configuration settings of the storage of the tokens if a file system is used.",
      "properties": {
        "directory": {
          "type": "string",
          "description": "The directory in which the tokens will be stored."
        }
      }
    },
    "ForwardProxy": {
      "type": "object",
      "description": "The configuration settings of a forward proxy used to make the requests.",
      "properties": {
        "convention": {
          "$ref": "#/$defs/ForwardProxyConvention",
          "description": "The convention used to determine the url of the request made."
        },
        "customHostHeaderName": {
          "type": "string",
          "description": "The name of the header containing the host of the request."
        },
        "customProtoHeaderName": {
          "type": "string",
          "description": "The name of the header containing the scheme of the request."
        }
      }
    },
    "ForwardProxyConvention": {
      "type": "string",
      "description": "The convention used to determine the url of the request made.",
      "enum": [
        "NoProxy",
        "Standard",
        "Custom"
      ],
      "x-ms-enum": {
        "name": "ForwardProxyConvention",
        "modelAsString": false
      }
    },
    "GitHub": {
      "type": "object",
      "description": "The configuration settings of the GitHub provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the GitHub provider should not be enabled despite the set registration; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/ClientRegistration",
          "description": "The configuration settings of the app registration for the GitHub provider."
        },
        "login": {
          "$ref": "#/$defs/LoginScopes",
          "description": "The configuration settings of the login flow."
        }
      }
    },
    "GlobalValidation": {
      "type": "object",
      "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization.",
      "properties": {
        "requireAuthentication": {
          "type": "boolean",
          "description": "<code>true</code> if the authentication flow is required any request is made; otherwise, <code>false</code>."
        },
        "unauthenticatedClientAction": {
          "$ref": "#/$defs/UnauthenticatedClientActionV2",
          "description": "The action to take when an unauthenticated client attempts to access the app."
        },
        "redirectToProvider": {
          "type": "string",
          "description": "The default authentication provider to use when multiple providers are configured.\nThis setting is only needed if multiple providers are configured and the unauthenticated client\naction is set to \"RedirectToLoginPage\"."
        },
        "excludedPaths": {
          "type": "array",
          "description": "The paths for which unauthenticated flow would not be redirected to the login page.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Google": {
      "type": "object",
      "description": "The configuration settings of the Google provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/ClientRegistration",
          "description": "The configuration settings of the app registration for the Google provider."
        },
        "login": {
          "$ref": "#/$defs/LoginScopes",
          "description": "The configuration settings of the login flow."
        },
        "validation": {
          "$ref": "#/$defs/AllowedAudiencesValidation",
          "description": "The configuration settings of the Azure Active Directory token validation flow."
        }
      }
    },
    "HttpSettings": {
      "type": "object",
      "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization.",
      "properties": {
        "requireHttps": {
          "type": "boolean",
          "description": "<code>false</code> if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, <code>true</code>."
        },
        "routes": {
          "$ref": "#/$defs/HttpSettingsRoutes",
          "description": "The configuration settings of the paths HTTP requests."
        },
        "forwardProxy": {
          "$ref": "#/$defs/ForwardProxy",
          "description": "The configuration settings of a forward proxy used to make the requests."
        }
      }
    },
    "HttpSettingsRoutes": {
      "type": "object",
      "description": "The configuration settings of the paths HTTP requests.",
      "properties": {
        "apiPrefix": {
          "type": "string",
          "description": "The prefix that should precede all the authentication/authorization paths."
        }
      }
    },
    "IdentityProviders": {
      "type": "object",
      "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization.",
      "properties": {
        "azureActiveDirectory": {
          "$ref": "#/$defs/AzureActiveDirectory",
          "description": "The configuration settings of the Azure Active directory provider."
        },
        "facebook": {
          "$ref": "#/$defs/Facebook",
          "description": "The configuration settings of the Facebook provider."
        },
        "gitHub": {
          "$ref": "#/$defs/GitHub",
          "description": "The configuration settings of the GitHub provider."
        },
        "google": {
          "$ref": "#/$defs/Google",
          "description": "The configuration settings of the Google provider."
        },
        "legacyMicrosoftAccount": {
          "$ref": "#/$defs/LegacyMicrosoftAccount",
          "description": "The configuration settings of the legacy Microsoft Account provider."
        },
        "twitter": {
          "$ref": "#/$defs/Twitter",
          "description": "The configuration settings of the Twitter provider."
        },
        "apple": {
          "$ref": "#/$defs/Apple",
          "description": "The configuration settings of the Apple provider."
        },
        "azureStaticWebApps": {
          "$ref": "#/$defs/AzureStaticWebApps",
          "description": "The configuration settings of the Azure Static Web Apps provider."
        },
        "customOpenIdConnectProviders": {
          "type": "object",
          "description": "The map of the name of the alias of each custom Open ID Connect provider to the\nconfiguration settings of the custom Open ID Connect provider.",
          "additionalProperties": {
            "$ref": "#/$defs/CustomOpenIdConnectProvider"
          }
        }
      }
    },
    "JwtClaimChecks": {
      "type": "object",
      "description": "The configuration settings of the checks that should be made while validating the JWT Claims.",
      "properties": {
        "allowedGroups": {
          "type": "array",
          "description": "The list of the allowed groups.",
          "items": {
            "type": "string"
          }
        },
        "allowedClientApplications": {
          "type": "array",
          "description": "The list of the allowed client applications.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "LegacyMicrosoftAccount": {
      "type": "object",
      "description": "The configuration settings of the legacy Microsoft Account provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/ClientRegistration",
          "description": "The configuration settings of the app registration for the legacy Microsoft Account provider."
        },
        "login": {
          "$ref": "#/$defs/LoginScopes",
          "description": "The configuration settings of the login flow."
        },
        "validation": {
          "$ref": "#/$defs/AllowedAudiencesValidation",
          "description": "The configuration settings of the legacy Microsoft Account provider token validation flow."
        }
      }
    },
    "Login": {
      "type": "object",
      "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization.",
      "properties": {
        "routes": {
          "$ref": "#/$defs/LoginRoutes",
          "description": "The routes that specify the endpoints used for login and logout requests."
        },
        "tokenStore": {
          "$ref": "#/$defs/TokenStore",
          "description": "The configuration settings of the token store."
        },
        "preserveUrlFragmentsForLogins": {
          "type": "boolean",
          "description": "<code>true</code> if the fragments from the request are preserved after the login request is made; otherwise, <code>false</code>."
        },
        "allowedExternalRedirectUrls": {
          "type": "array",
          "description": "External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.\nThis is an advanced setting typically only needed by Windows Store application backends.\nNote that URLs within the current domain are always implicitly allowed.",
          "items": {
            "type": "string"
          }
        },
        "cookieExpiration": {
          "$ref": "#/$defs/CookieExpiration",
          "description": "The configuration settings of the session cookie's expiration."
        },
        "nonce": {
          "$ref": "#/$defs/Nonce",
          "description": "The configuration settings of the nonce used in the login flow."
        }
      }
    },
    "LoginRoutes": {
      "type": "object",
      "description": "The routes that specify the endpoints used for login and logout requests.",
      "properties": {
        "logoutEndpoint": {
          "type": "string",
          "description": "The endpoint at which a logout request should be made."
        }
      }
    },
    "LoginScopes": {
      "type": "object",
      "description": "The configuration settings of the login flow, including the scopes that should be requested.",
      "properties": {
        "scopes": {
          "type": "array",
          "description": "A list of the scopes that should be requested while authenticating.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Nonce": {
      "type": "object",
      "description": "The configuration settings of the nonce used in the login flow.",
      "properties": {
        "validateNonce": {
          "type": "boolean",
          "description": "<code>false</code> if the nonce should not be validated while completing the login flow; otherwise, <code>true</code>."
        },
        "nonceExpirationInterval": {
          "type": "string",
          "description": "The time after the request is made when the nonce should expire."
        }
      }
    },
    "OpenIdConnectClientCredential": {
      "type": "object",
      "description": "The authentication client credentials of the custom Open ID Connect provider.",
      "properties": {
        "method": {
          "type": "string",
          "description": "The method that should be used to authenticate the user.",
          "enum": [
            "ClientSecretPost"
          ],
          "x-ms-enum": {
            "modelAsString": false
          }
        },
        "clientSecretSettingName": {
          "type": "string",
          "description": "The app setting that contains the client secret for the custom Open ID Connect provider."
        }
      }
    },
    "OpenIdConnectConfig": {
      "type": "object",
      "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider.",
      "properties": {
        "authorizationEndpoint": {
          "type": "string",
          "description": "The endpoint to be used to make an authorization request."
        },
        "tokenEndpoint": {
          "type": "string",
          "description": "The endpoint to be used to request a token."
        },
        "issuer": {
          "type": "string",
          "description": "The endpoint that issues the token."
        },
        "certificationUri": {
          "type": "string",
          "description": "The endpoint that provides the keys necessary to validate the token."
        },
        "wellKnownOpenIdConfiguration": {
          "type": "string",
          "description": "The endpoint that contains all the configuration endpoints for the provider."
        }
      }
    },
    "OpenIdConnectLogin": {
      "type": "object",
      "description": "The configuration settings of the login flow of the custom Open ID Connect provider.",
      "properties": {
        "nameClaimType": {
          "type": "string",
          "description": "The name of the claim that contains the users name."
        },
        "scopes": {
          "type": "array",
          "description": "A list of the scopes that should be requested while authenticating.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "OpenIdConnectRegistration": {
      "type": "object",
      "description": "The configuration settings of the app registration for the custom Open ID Connect provider.",
      "properties": {
        "clientId": {
          "type": "string",
          "description": "The client id of the custom Open ID Connect provider."
        },
        "clientCredential": {
          "$ref": "#/$defs/OpenIdConnectClientCredential",
          "description": "The authentication credentials of the custom Open ID Connect provider."
        },
        "openIdConnectConfiguration": {
          "$ref": "#/$defs/OpenIdConnectConfig",
          "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider."
        }
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "SiteAuthSettingsV2Properties": {
      "type": "object",
      "description": "SiteAuthSettingsV2 resource specific properties",
      "properties": {
        "platform": {
          "$ref": "#/$defs/AuthPlatform",
          "description": "The configuration settings of the platform of App Service Authentication/Authorization."
        },
        "globalValidation": {
          "$ref": "#/$defs/GlobalValidation",
          "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization."
        },
        "identityProviders": {
          "$ref": "#/$defs/IdentityProviders",
          "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization."
        },
        "login": {
          "$ref": "#/$defs/Login",
          "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization."
        },
        "httpSettings": {
          "$ref": "#/$defs/HttpSettings",
          "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization."
        }
      }
    },
    "TokenStore": {
      "type": "object",
      "description": "The configuration settings of the token store.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>.\nThe default is <code>false</code>."
        },
        "tokenRefreshExtensionHours": {
          "type": "number",
          "format": "double",
          "description": "The number of hours after session token expiration that a session token can be used to\ncall the token refresh API. The default is 72 hours."
        },
        "fileSystem": {
          "$ref": "#/$defs/FileSystemTokenStore",
          "description": "The configuration settings of the storage of the tokens if a file system is used."
        },
        "azureBlobStorage": {
          "$ref": "#/$defs/BlobStorageTokenStore",
          "description": "The configuration settings of the storage of the tokens if blob storage is used."
        }
      }
    },
    "Twitter": {
      "type": "object",
      "description": "The configuration settings of the Twitter provider.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "<code>false</code> if the Twitter provider should not be enabled despite the set registration; otherwise, <code>true</code>."
        },
        "registration": {
          "$ref": "#/$defs/TwitterRegistration",
          "description": "The configuration settings of the app registration for the Twitter provider."
        }
      }
    },
    "TwitterRegistration": {
      "type": "object",
      "description": "The configuration settings of the app registration for the Twitter provider.",
      "properties": {
        "consumerKey": {
          "type": "string",
          "description": "The OAuth 1.0a consumer key of the Twitter application used for sign-in.\nThis setting is required for enabling Twitter Sign-In.\nTwitter Sign-In documentation: https://dev.twitter.com/web/sign-in"
        },
        "consumerSecretSettingName": {
          "type": "string",
          "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in."
        }
      }
    },
    "UnauthenticatedClientActionV2": {
      "type": "string",
      "description": "The action to take when an unauthenticated client attempts to access the app.",
      "enum": [
        "RedirectToLoginPage",
        "AllowAnonymous",
        "Return401",
        "Return403"
      ],
      "x-ms-enum": {
        "name": "UnauthenticatedClientActionV2",
        "modelAsString": false
      }
    }
  }
}