AuthStateRule.hasRole constructor
AuthStateRule.hasRole(
- String role
Matches callers holding role.
Implementation
AuthStateRule.hasRole(String role)
: this(requireAuthenticated: true, allRoles: {role});
Matches callers holding role.
AuthStateRule.hasRole(String role)
: this(requireAuthenticated: true, allRoles: {role});