MappingRule class
A rule that maps a claim name, a claim value, and a match type to a role ARN.
Constructors
- MappingRule({required String claim, required MappingRuleMatchType matchType, required String roleARN, required String value})
-
MappingRule.fromJson(Map<
String, dynamic> json) -
factory
Properties
- claim → String
-
The claim name that must be present in the token, for example, "isAdmin" or
"paid".
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- matchType → MappingRuleMatchType
-
The match condition that specifies how closely the claim value in the IdP
token must match
Value
.final - roleARN → String
-
The role ARN.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
A brief string that the claim must match, for example, "paid" or "yes".
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited