File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
src/fragments/lib/auth/native_common/signin_next_steps Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -114,19 +114,20 @@ try {
114
114
115
115
``` java
116
116
RxAmplify . Auth . confirmSignIn(
117
- " TOTP confirmation code" ). subscribe(
118
- result - > {
119
- if (result. isSignedIn()) {
120
- Log . i(" AuthQuickstart" , " Confirm signIn succeeded" );
121
- } else {
122
- Log . i(" AuthQuickstart" , " Confirm sign in not complete. There might be additional steps: " + result. getNextStep());
123
- // Switch on the next step to take appropriate actions.
124
- // If `signInResult.isSignedIn` is true, the next step
125
- // is 'done', and the user is now signed in.
126
- }
127
- },
128
- error - > Log . e(" AuthQuickstart" , " Confirm sign in failed: " + error)
129
- );
117
+ " TOTP confirmation code"
118
+ ). subscribe(
119
+ result - > {
120
+ if (result. isSignedIn()) {
121
+ Log . i(" AuthQuickstart" , " Confirm signIn succeeded" );
122
+ } else {
123
+ Log . i(" AuthQuickstart" , " Confirm sign in not complete. There might be additional steps: " + result. getNextStep());
124
+ // Switch on the next step to take appropriate actions.
125
+ // If `signInResult.isSignedIn` is true, the next step
126
+ // is 'done', and the user is now signed in.
127
+ }
128
+ },
129
+ error - > Log . e(" AuthQuickstart" , " Confirm sign in failed: " + error)
130
+ );
130
131
```
131
132
</Block >
132
133
</BlockSwitcher >
You can’t perform that action at this time.
0 commit comments