AccessCheck

sealed interface AccessCheck

The outcome of an access check: proceed, or answer the caller with a code and a message.

Inheritors

Types

Link copied to clipboard
data object Allowed : AccessCheck
Link copied to clipboard
data class Denied(val code: Int, val message: String) : AccessCheck

code is an ExceptionsErrorCode value the client SDK maps to a typed exception.