Skip to content

Commit

Permalink
updated deriv_auth example
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil-deriv committed Jun 28, 2024
1 parent 6c99e14 commit 2e90307
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import 'package:deriv_auth/deriv_auth.dart';

class ExampleLoginRepository implements BaseAuthRepository {
@override
Future<AuthorizeResponseEntity> authorize(String? token) =>
Future<AuthorizeResponseEntity> authorize(
String? token, {
List<String>? tokenList,
}) =>
Future.value(const AuthorizeResponseEntity());

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ExampleLoginService extends BaseAuthService {
Future<AuthorizeEntity> login(
String token, {
required List<AccountModel> accounts,
List<String>? tokenList,
String? signupProvider,
String? refreshToken,
}) async =>
Expand Down

0 comments on commit 2e90307

Please sign in to comment.