Skip to main content

Module server

Module server 

Source
Expand description

Server mode (on when COMINDLY_PUBLIC_URL is set): members, invitations, sign-in links, sessions, personal access tokens and encrypted secrets, in a LanceDB table next to the index.

Structs§

AccessToken
AuditEntry
One row of the audit log; details never hold token values or codes.
AuditPage
AuditQuery
Which audit entries to list: before is the next cursor of the previous page.
DeviceRequest
What a member sees before approving a command-line sign-in.
Invite
Member
OidcConfig
Sign-in through an OpenID Connect provider, such as the company’s identity provider.
SecretInfo
A secret’s state for the UI; its value never leaves the server.
Server
A running server: its settings and its backends.
ServerConfig
The deployment’s settings for server mode, read once when the server starts.
Store
Who
Who a request comes from.

Enums§

DevicePoll
Where a command-line sign-in stands.
Role
What someone may do, each role including the ones below it.
SignIn
A way to sign in: an emailed link, a code, or an OpenID Connect provider; a server offers one or more, each for invited people only.
Via
How a request proved who it is.

Constants§

LLM_SECRET
TOKEN_DAYS
How long a token lasts unless chosen otherwise, and a command-line sign-in’s always.

Functions§

env_secret
NAME from the environment, or the contents of the file NAME_FILE names.
git_secret
Secret names for a git host’s token and for the LLM key.
new_code
A sign-in or invitation code people type: 20 characters (100 bits) in groups of four.
new_token
A random URL-safe token with prefix.
normalize