AuthenticationRole

Represents a role that can be required by a typed authentication route.

Implement this interface on an enum or another role type used by your application.

enum class Role : AuthenticationRole {
User, Admin, Moderator
}

Report a problem

Properties

Link copied to clipboard
abstract val name: String

Name of this role.