Companion

Provides factory methods for easily creating ApiKey objects.

Functions

Link copied to clipboard

Create a checked org tenant API key from the provided value.

Link copied to clipboard

Create a checked user API key from the provided value.

Link copied to clipboard
fun of(value: String, type: ApiKey.SubjectType? = null): ApiKey

Create an API key from the provided value, and optionally a known type.