Skip to main content

Function: getSecurityTier()

getSecurityTier(name): SecurityTierConfig

Defined in: security/SecurityTiers.ts:513

Returns the full SecurityTierConfig for a given tier name.

Parameters

name

SecurityTierName

A valid security tier name.

Returns

SecurityTierConfig

The frozen tier configuration object.

Throws

If name is not a recognised tier.

Example

const tier = getSecurityTier('balanced');
console.log(tier.displayName); // "Balanced"