openvidu/backend/openapi/components/schemas/internal/security-preferences.yaml

46 lines
1.3 KiB
YAML

type: object
properties:
authentication:
$ref: '#/AuthenticationPreferences'
description: Preferences for authentication.
roomCreationPolicy:
$ref: '#/RoomCreationPolicy'
description: Preferences for room creation policy.
AuthenticationPreferences:
type: object
properties:
authMode:
type: string
enum:
- none
- moderators_only
- all_users
default: none
example: none
description: The authentication mode to enter a room.
method:
type: object
properties:
type:
type: string
enum:
- single-user
default: single-user
example: single-user
description: The authentication method to use.
RoomCreationPolicy:
type: object
properties:
allowRoomCreation:
type: boolean
default: true
example: true
description: If true, users will be allowed to create rooms.
requireAuthentication:
type: boolean
default: true
example: true
description: If true, users will be required to authenticate before creating rooms.