Documentation ¶
Overview ¶
Package types defines various data types related to Tempest's business logic that are used in multiple subsystems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { }
An account identifies a user account. Right now this is just a phantom type for use with ID.
type Credential ¶
type Credential struct { // Type defines the type of credential this is. Type CredentialType // ScopedID is an identifier for this credential that is unique for // all credentials of the same type. For example, if the credential // type is email addresses, then this could be the address itself. ScopedID string `capnp:"scopedId"` }
A Credential is something that Tempest can authenticate a user as. Examples (not necessarily all implemented) owner of an email address, SSO account.
type CredentialType ¶
type CredentialType string
A Type of credential
const ( // Special "dev" accounts; useful for testing but not suitable for // real-world use. DevCredential CredentialType = "dev" // Email login. EmailCredential CredentialType = "email" )
Click to show internal directories.
Click to hide internal directories.