Get User Data

Output Type

{
  "kind": "identitytoolkit#VerifyPasswordResponse",
  "localId": "gRIyCT7tcnZYrmppc6hGcHMU6IU2",
  "email": "test@gmail.com",
  "displayName": "",
  "idToken": "eyJhbGciOiJSUzI1Ni",
  "registered": true,
  "refreshToken": "AMf-vBzE5fRBJIhfXf8rRlce_Q1S",
  "expiresIn": "3600"
}

  • "kind": "identitytoolkit#VerifyPasswordResponse":

    • This indicates that this is a response result for a VerifyPassword operation, involving verifying the user's credentials within an authentication service.

  • "localId": "gRIyCT7tcnZYrmppc6hGcHMU6IU2":

    • This is a unique identifier for the user within the system. It's used to uniquely identify this specific user in the system and database.

  • "email": "test@gmail.com":

    • The user's email address, indicating one of the identities used by the user for logging in.

  • "displayName": "":

    • The user's display name, which is currently empty, suggesting that the user hasn't set up a name yet.

  • "idToken": "eyJhbGciOiJSUzI...":

    • This is a JWT (JSON Web Token) used for authenticating the user. The JWT contains identity information about the user and allows the user to perform restricted operations within the system.

  • "registered": true:

    • This indicates that the user is a registered user, meaning there is an existing record of this user in the system.

  • "refreshToken": "AMf-vBzE5fRBJIhfX...":

    • This is a refresh token that allows you to obtain a new ID token. When the ID token expires, you can use this refresh token to get a new ID token without logging in again.

  • "expiresIn": "3600":

    • The validity period of the ID token, which in this case is 3600 seconds (or 1 hour). After this period, the ID token will expire, and the user will need to use the refresh token or log in again to obtain a new ID token.

These fields are typically used after user authentication to allow the user to access restricted areas or features.

OnCompleted

On Completed Delegate

Last updated