Interface IAuthenticationRestrictions

interface IAuthenticationRestrictions {
    forbiddenClients: string[];
    forbiddenUserAgents: string[];
    trustedUserAgents: string[];
}

Properties

forbiddenClients: string[]

The list of clients which are forbidden to use the platform's REST API. For now, the only value supported in the array is 'WEB_BROWSERS' (which blocks all web browsers).

forbiddenUserAgents: string[]

The list of user agents which are forbidden to use the platform's REST API. The values are compared with User-Agent HTTP header.

trustedUserAgents: string[]

The list of user agents which are allowed to use the platform's REST API. The values are compared with User-Agent HTTP header.