AuthorizedKey class
A single authorized identity: a principal, the public key that proves it, and the roles it is granted.
Constructors
-
AuthorizedKey({required PrincipalId principal, required Ed25519PublicKey publicKey, String displayName = '', Set<
String> roles = const {}}) - Creates an authorized-key entry.
Properties
- displayName → String
-
A human-friendly display name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- principal → PrincipalId
-
The principal the key authenticates.
final
- publicKey → Ed25519PublicKey
-
The Ed25519 public key.
final
-
roles
→ Set<
String> -
Roles granted on successful authentication.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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