Skip to content

Commit fd1c5af

Browse files
committed
feat: added methods for integration test suite
1 parent 060f587 commit fd1c5af

File tree

1 file changed

+4
-0
lines changed
  • packages/auth/amplify_auth_cognito_dart/example/lib

1 file changed

+4
-0
lines changed

packages/auth/amplify_auth_cognito_dart/example/lib/common.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ Future<List<AuthUserAttribute>> fetchUserAttributes() async {
104104
return Amplify.Auth.fetchUserAttributes();
105105
}
106106

107+
Future<AuthDevice> fetchCurrentDevice() async {
108+
return Amplify.Auth.fetchCurrentDevice();
109+
}
110+
107111
Future<List<AuthDevice>> fetchDevices() async {
108112
return Amplify.Auth.fetchDevices();
109113
}

0 commit comments

Comments
 (0)