openvidu/backend/openapi/components/schemas/internal/global-security-config.yaml
2025-09-18 13:02:56 +02:00

35 lines
1.2 KiB
YAML

type: object
properties:
authentication:
$ref: '#/AuthenticationConfig'
description: Config for authentication.
AuthenticationConfig:
type: object
properties:
authMethod:
type: object
properties:
type:
type: string
enum:
- single_user
default: single_user
example: single_user
description: |
Specifies the authentication method used to access the application.
- `single_user`: Only one user account exists, which has administrative privileges and is used for all access.
authModeToAccessRoom:
type: string
enum:
- none
- moderators_only
- all_users
default: none
example: none
description: |
Specifies who is required to authenticate before accessing a room:
- `none`: No authentication required.
- `moderators_only`: Only moderators need to authenticate.
- `all_users`: All users must authenticate.