platform/packages/oauth2/test/common.dart

21 lines
547 B
Dart
Raw Normal View History

2017-09-29 02:16:44 +00:00
const PseudoApplication pseudoApplication =
2019-05-02 07:28:38 +00:00
PseudoApplication('foo', 'bar', 'http://foo.bar/baz');
2017-09-29 02:16:44 +00:00
class PseudoApplication {
final String id, secret, redirectUri;
const PseudoApplication(this.id, this.secret, this.redirectUri);
}
2017-10-16 06:38:46 +00:00
2019-05-02 07:28:38 +00:00
const List<PseudoUser> pseudoUsers = [
PseudoUser(username: 'foo', password: 'bar'),
PseudoUser(username: 'michael', password: 'jackson'),
PseudoUser(username: 'jon', password: 'skeet'),
2017-10-16 06:38:46 +00:00
];
class PseudoUser {
final String username, password;
const PseudoUser({this.username, this.password});
2018-11-08 15:32:36 +00:00
}