feat: add more security settings

This commit is contained in:
Steven
2024-08-29 20:13:10 +08:00
parent 6c54732cd1
commit 0ac2554545
15 changed files with 312 additions and 247 deletions

View File

@@ -777,7 +777,9 @@ definitions:
expiresAt:
type: string
format: date-time
description: "expires_at is the expiration time of the access token.\r\nIf expires_at is not set, the access token will never expire."
description: |-
expires_at is the expiration time of the access token.
If expires_at is not set, the access token will never expire.
apiv1Collection:
type: object
properties:
@@ -966,6 +968,9 @@ definitions:
disallowUserRegistration:
type: boolean
description: Whether to disallow user registration by email&password.
disallowPasswordAuth:
type: boolean
description: Whether to disallow password authentication.
protobufAny:
type: object
properties:
@@ -1141,18 +1146,17 @@ definitions:
version:
type: string
description: Current workspace version.
owner:
type: string
title: |-
The owner name.
Format: "users/{id}"
subscription:
$ref: '#/definitions/v1Subscription'
description: The workspace subscription.
enableSignup:
type: boolean
description: Whether to enable other users to sign up.
customStyle:
type: string
description: The custom style.
owner:
type: string
title: "The owner name.\r\nFormat: \"users/{id}\""
branding:
type: string
format: byte