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
vincetran and josefaidt authored Nov 29, 2024
1 parent b12eda5 commit d77e718
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ If the next step is `CONFIRM_SIGN_IN_WITH_OTP`, Amplify Auth has sent the user a

<Callout>

The result includes an `AuthCodeDeliveryDetails` member. It includes additional information about the code delivery, such as the partial email address of the recipient, which can be used to prompt the user on where to look for the code.
**Note:** The result includes an `AuthCodeDeliveryDetails` member. It includes additional information about the code delivery, such as the partial email address of the recipient, which can be used to prompt the user on where to look for the code.

</Callout>

Expand Down Expand Up @@ -1998,7 +1998,7 @@ This call fetches the current logged in user and should be used after a user has
If the user is signed in, it will return the current userId and username.

<Callout>
An empty string will be assigned to userId and/or username, if the values are not present in the accessToken.
**Note:** An empty string will be assigned to userId and/or username, if the values are not present in the accessToken.
</Callout>

<BlockSwitcher>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ if (confirmSignUpNextStep.signUpStep === 'DONE') {
```java
// Sign up using an email address
ArrayList<AuthUserAttribute> attributes = new ArrayList<>();
attributes.add(new AuthUserAttribute(AuthUserAttributeKey.email(), "my@email.com"));
attributes.add(new AuthUserAttribute(AuthUserAttributeKey.email(), "hello@example.com"));

Amplify.Auth.signUp(
"username",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Runtime configuration will take precedence and will override any auth flow type

</Callout>

> For more information about authentication flows, please visit [Amazon Cognito developer documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html#amazon-cognito-user-pools-custom-authentication-flow)
For more information about authentication flows, please visit [Amazon Cognito developer documentation](https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html#amazon-cognito-user-pools-custom-authentication-flow)

## USER_AUTH (Choice-based authentication) flow

Expand Down

0 comments on commit d77e718

Please sign in to comment.