platform/packages/oauth2/test/common.dart
2021-05-30 08:46:13 +08:00

20 lines
548 B
Dart

const PseudoApplication pseudoApplication =
PseudoApplication('foo', 'bar', 'http://foo.bar/baz');
class PseudoApplication {
final String id, secret, redirectUri;
const PseudoApplication(this.id, this.secret, this.redirectUri);
}
const List<PseudoUser> pseudoUsers = [
PseudoUser(username: 'foo', password: 'bar'),
PseudoUser(username: 'michael', password: 'jackson'),
PseudoUser(username: 'jon', password: 'skeet'),
];
class PseudoUser {
final String? username, password;
const PseudoUser({this.username, this.password});
}