Credentials

@Serializable
data class Credentials(val clientId: String, val requestedScopes: Set<String>, val clientUniqueKey: String?, val grantedScopes: Set<String>, val userId: String?, val expires: Instant?, val token: String?)

Represents the credentials of a user or client.

Constructors

Link copied to clipboard
constructor(clientId: String, requestedScopes: Set<String>, clientUniqueKey: String?, grantedScopes: Set<String>, userId: String?, expires: Instant?, token: String?)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Represents the level of the credentials.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val expires: Instant?
Link copied to clipboard
Link copied to clipboard

The level of the credentials.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Convenience function to check if the user is logged in.