Authorizer class abstract
Decides whether an authenticated Principal may open a session on a node.
Enforced by the Hub on every session.open. Implementations can key off the
principal's roles, the node's labels, the requested SessionMode, or any
external policy source.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canOpenSession(
{required Principal principal, required NodeDescriptor node, required SessionMode mode}) → Future< bool> -
Whether
principalmay open a session inmodeonnode. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited