setUser method
Sets the user for the current request/scope (tests, once).
Implementation
@override
void setUser(T user) {
final state = AuthScope.state();
state.users[name] = user;
state.resolved.add(name);
}
Sets the user for the current request/scope (tests, once).
@override
void setUser(T user) {
final state = AuthScope.state();
state.users[name] = user;
state.resolved.add(name);
}