nee-core / dev.neeffect.nee.effects.security / SecurityErrorType

SecurityErrorType

sealed class SecurityErrorType : SecurityError

Error on security check.

Types

MalformedCredentials

Credential cannot be parsed.

data class MalformedCredentials : SecurityErrorType

MissingRole

Expected role is missing.

data class MissingRole<ROLE> : SecurityErrorType

NoSecurityCtx

Security context nott available.

object NoSecurityCtx : SecurityErrorType

UnknownUser

User not recognized.

object UnknownUser : SecurityErrorType

WrongCredentials

Credentials were wrong.

class WrongCredentials : SecurityErrorType

Functions

secError

open fun secError(): SecurityErrorType