You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-3Lines changed: 32 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -480,7 +480,22 @@ Import the `SuccessResponse` and `FailureResponse` classes to write proper callb
480
480
481
481
#### Identify
482
482
483
-
The following is a full Identify example with error and success handling. You can adapt the following example with `login`, `modify`, and `logout`.
483
+
You can call `identify` without any parameters to identify with the current user's identities:
484
+
485
+
```dart
486
+
mpInstance?.identity
487
+
.identify()
488
+
.then(
489
+
(IdentityApiResult successResponse) =>
490
+
print("Success Response: $successResponse"),
491
+
onError: (error) {
492
+
var failureResponse = error as IdentityAPIErrorResponse;
493
+
print("Failure Response: $failureResponse");
494
+
}
495
+
);
496
+
```
497
+
498
+
Or with an identity request. The following is a full example with error and success handling. You can adapt the following example with `login`, `modify`, and `logout`.
0 commit comments