DVScopedPrincipal class abstract interface

Something a request can be authenticated as that carries scopes.

DV.Auth.authorization refuses any action this principal does not permits, before the policy is asked.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes → Set<String>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
permits(String action) → bool
Whether the scopes cover action, as Resource.action.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited