Skip to main content

Interface: ModelSecurityClientOptions

Defined in: src/model-security/client.ts:18

Options for constructing a ModelSecurityClient.

Properties

clientId?

optional clientId?: string;

Defined in: src/model-security/client.ts:20

OAuth2 client ID. Falls back to PANW_MODEL_SEC_CLIENT_ID, then PANW_MGMT_CLIENT_ID.


clientSecret?

optional clientSecret?: string;

Defined in: src/model-security/client.ts:22

OAuth2 client secret. Falls back to PANW_MODEL_SEC_CLIENT_SECRET, then PANW_MGMT_CLIENT_SECRET.


tsgId?

optional tsgId?: string;

Defined in: src/model-security/client.ts:24

Tenant Service Group ID. Falls back to PANW_MODEL_SEC_TSG_ID, then PANW_MGMT_TSG_ID.


dataEndpoint?

optional dataEndpoint?: string;

Defined in: src/model-security/client.ts:26

Data plane endpoint URL. Falls back to PANW_MODEL_SEC_DATA_ENDPOINT.


mgmtEndpoint?

optional mgmtEndpoint?: string;

Defined in: src/model-security/client.ts:28

Management plane endpoint URL. Falls back to PANW_MODEL_SEC_MGMT_ENDPOINT.


tokenEndpoint?

optional tokenEndpoint?: string;

Defined in: src/model-security/client.ts:30

OAuth2 token endpoint URL. Falls back to PANW_MODEL_SEC_TOKEN_ENDPOINT, then PANW_MGMT_TOKEN_ENDPOINT.


numRetries?

optional numRetries?: number;

Defined in: src/model-security/client.ts:32

Max retry attempts (0-5). Defaults to 5.