Package-level declarations

Types

Link copied to clipboard

A header field for API key authentication.

Link copied to clipboard
data class ApiKeyIdPath(val keyId: String)

Path parameters identifying a single API key.

Link copied to clipboard
sealed interface AuthType

The configuration for authentication.

Link copied to clipboard

An example header for bearer authentication.

Link copied to clipboard
data class OAuthFinalizeQuery(val username: String? = null, val next: String? = null, val error: String? = null, val provider: String? = null)

Query parameters for OAuth finalization.

Link copied to clipboard
data class OAuthLoginPath(val provider: String)

Path parameters for OAuth login.

Link copied to clipboard
interface OAuthProvider

An interface for defining OAuth2 providers.

Link copied to clipboard
interface Principal

Represents an authenticated user (principal) in the system.

Link copied to clipboard
@Serializable
data class SimplePrincipal(val userId: Uuid, val username: String) : Principal

A simple implementation of Principal.

Properties

Link copied to clipboard

A contract for creating a new API key for the currently authenticated principal.

Link copied to clipboard

A contract for listing the API keys owned by the currently authenticated principal.

Link copied to clipboard

A contract for revoking an API key owned by the currently authenticated principal.

Link copied to clipboard

The default validation for user registration.

actual val defaultPasswordValidation: Validation<UserRequestModel>

The default validation for user registration on JS.

The default validation for user registration on the JVM.

Link copied to clipboard

A contract for the logout endpoint.

Link copied to clipboard

A contract for the OAuth callback finalization endpoint.

Link copied to clipboard

A contract for linking an OAuth provider to an existing account.

Link copied to clipboard

A contract for the OAuth login initiation endpoint.

Link copied to clipboard
Link copied to clipboard

A contract for the user registration endpoint.

Link copied to clipboard

A contract for the password strength endpoint.

Link copied to clipboard

A contract for the token refresh endpoint.