{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/AppAuthStrategy", "title": "AppAuthStrategy", "x-speakeasy-entity": "ApplicationAuthStrategy", "description": "A set of plugin configurations that represent how the gateway will perform authentication and authorization for a Product Version. Called \u201cAuth Strategy\u201d for short in the context of portals/applications. The plugins are synced to any Gateway Service that is currently linked or becomes linked to the Product Version.", "type": "object", "discriminator": { "propertyName": "strategy_type", "mapping": { "key_auth": "#/components/schemas/AppAuthStrategyKeyAuthResponse", "openid_connect": "#/components/schemas/AppAuthStrategyOpenIDConnectResponse" } }, "oneOf": [ { "$ref": "#/components/schemas/AppAuthStrategyKeyAuthResponse" }, { "$ref": "#/components/schemas/AppAuthStrategyOpenIDConnectResponse" } ], "required": [ "strategy_type" ] }