AtCredentialRefusedException class
open was refused, and this device holds nothing for the principal, so
there is no client to hand back: the first open of a principal on a device
must be online.
state carries the cause: revoked, unauthenticated, an expired or
unapproved enrollment, or an atSign the atDirectory has no atServer for.
Thrown by Atsign.authenticatesAs when the atServer refused the keys:
state is the refusal open would have reported, with its cause.
- Inheritance
-
- Object
- AtException
- AtCredentialRefusedException
Constructors
- AtCredentialRefusedException(String atSign, AtConnectionState state)
Properties
- atSign → String
-
final
- exceptionScenario ↔ ExceptionScenario?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- intent ↔ Intent?
-
getter/setter pairinherited
- message ↔ String
-
Represents error message that details the cause of the exception
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → AtConnectionState
-
final
Methods
-
fromException(
AtException atException) → AtException -
inherited
-
getTraceMessage(
) → String -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stack(
AtChainedException atChainedException) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited