SecuritySettings

Comprehensive admin component for managing tenant security policies including lockout rules, sign-up restrictions, and attack protection.

Live Demo

Installation

Terminal

Basic Usage

AdminSecurityPage.tsx

Props

PropTypeDefaultDescription
tenantIdstring-Required. The tenant ID to manage security settings for
apiEndpointstring'/api'Base URL for API calls
onUpdate(settings: SecuritySettings) => void-Callback fired when settings are successfully updated
classNamestring-Additional CSS classes for the container

Direct API Usage

You can also manage security settings directly via the API:

api-usage.ts

Middleware Integration

Security settings automatically integrate with authentication middleware:

login-handler.ts

Related Components