SsoRequiredException class
This address's domain must sign in through a specific SSO account.
Raised for every email/password call an enforced domain makes - login, register, forgot password, reset password, change password. It carries the account so an app can send the user straight there instead of leaving them at a dead end.
- Inheritance
-
- Object
- AppstraxException
- SsoRequiredException
Constructors
- SsoRequiredException({String? provider, String? accountKey, String? displayName})
-
const
Properties
- accountKey → String?
-
Pass this to AppstraxAuth.loginWith as
accountKey.final - code → String?
-
A constant from AuthErrors where one applies, for switching on.
finalinherited
- displayName → String?
-
The account's label, suitable for a button.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable, and stable: it is what toString has always produced.
finalinherited
- provider → String?
-
The provider id as the API reported it. A String, so a provider added
after this build shipped still reads rather than throwing.
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