Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: josef <[email protected]>
  • Loading branch information
jjarvisp and josefaidt authored Nov 27, 2024
1 parent 38d12ea commit eb5a851
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ Pass `SMS_OTP` as the `preferredChallenge` when calling the `signIn` API in orde

```ts
const { nextStep: signInNextStep } = await signIn({
username: 'example-username',
username: '+15551234567',
options: {
authFlowType: 'USER_AUTH',
preferredChallenge: 'SMS_OTP',
Expand Down Expand Up @@ -1238,7 +1238,7 @@ Pass `EMAIL_OTP` as the `preferredChallenge` when calling the `signIn` API in or

```ts
const { nextStep: signInNextStep } = await signIn({
username: 'example-username',
username: 'hello@example.com',
options: {
authFlowType: 'USER_AUTH',
preferredChallenge: 'EMAIL_OTP',
Expand Down Expand Up @@ -1351,7 +1351,7 @@ Pass `WEB_AUTHN` as the `preferredChallenge` in order to initiate the passwordle

```ts
const { nextStep: signInNextStep } = await signIn({
username: 'example-username',
username: 'hello@example.com',
options: {
authFlowType: 'USER_AUTH',
preferredChallenge: 'WEB_AUTHN',
Expand Down Expand Up @@ -1388,7 +1388,7 @@ if (signInNextStep.signInStep === 'DONE') {

```ts
const { nextStep: signInNextStep } = await signIn({
username: 'example-username',
username: 'hello@example.com',
password: 'example-password',
options: {
authFlowType: 'USER_AUTH',
Expand All @@ -1410,7 +1410,7 @@ The `confirmSignIn` API can then be used to select a challenge and initiate the

```ts
const { nextStep: signInNextStep } = await signIn({
username: 'example-username',
username: '+15551234567',
options: {
authFlowType: 'USER_AUTH',
},
Expand Down

0 comments on commit eb5a851

Please sign in to comment.