Skip to content

Step 6. Log in

To sign in with the account you created, call the login method, issue tokens, and register the session.

  1. Call the login method to issue an AuthorizationCode.
  2. Use the AuthorizationCode as input to issue an access token and a refresh token.
  3. Register the access token and refresh token in the session manager to activate the login session.

Guest login

To log in with a guest account, implement the login call, token issuance, and session registration in that order.

  1. Log in as a guest
  2. Issue a token
  3. Activate the session

Username login

To log in with a username account, implement the login call, token issuance, and session registration in that order.

  1. Log in with a username
  2. Issue a token
  3. Activate the session