AuthRule class

Annotations
  • @immutable

Constructors

AuthRule({required AuthStrategy authStrategy, String? ownerField, String? identityClaim, String? groupClaim, List<String>? groups, String? groupsField, AuthRuleProvider? provider, List<ModelOperation>? operations})
const

Properties

authStrategy AuthStrategy
final
groupClaim String?
final
groups List<String>?
final
groupsField String?
final
hashCode int
The hash code for this object.
no setteroverride
identityClaim String?
final
operations List<ModelOperation>?
final
ownerField String?
final
provider AuthRuleProvider?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({AuthStrategy? authStrategy, String? ownerField, String? identityClaim, String? groupClaim, List<String>? groups, String? groupsField, AuthRuleProvider? provider, List<ModelOperation>? operations}) AuthRule
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override