Share via


root.composeExtensions.authorization object

The authorization property represents authorization info for API-based message extensions. For more, see Enable authentication for API-based message extensions.

Properties that reference this object type:

Syntax

{
  "authType": "none | apiSecretServiceAuth | microsoftEntra | oAuth2.0",
  "microsoftEntraConfiguration": {
    "supportsSingleSignOn": {boolean}
  },
  "apiSecretServiceAuthConfiguration": {
    "apiSecretRegistrationId": "{string}"
  },
  "oAuthConfiguration": {
    "oAuthConfigurationId": "{string}"
  }
}
{
  "authType": "none | apiSecretServiceAuth | microsoftEntra",
  "microsoftEntraConfiguration": {
    "supportsSingleSignOn": {boolean}
  },
  "apiSecretServiceAuthConfiguration": {
    "apiSecretRegistrationId": "{string}"
  }
}

Properties

authType

Enum of possible authorization types.

Type
string

Required

Constraints

Supported values
Allowed values: none, apiSecretServiceAuth, microsoftEntra, oAuth2.0.

authType

Enum of possible authorization types.

Type
string

Required

Constraints

Supported values
Allowed values: none, apiSecretServiceAuth, microsoftEntra.

microsoftEntraConfiguration

Object capturing details needed to do microsoftEntra auth flow. Applicable only when auth type is microsoftEntra.

Required

Constraints

Supported values

apiSecretServiceAuthConfiguration

Object capturing details needed to do service auth. Applicable only when auth type is apiSecretServiceAuth.

Required

Constraints

Supported values

oAuthConfiguration

Object capturing details needed to match the application's OAuth configuration for the app. This should be and must be populated only when authType is set to oAuth2.0.

Required

Constraints

Supported values