Identity Toolkit API (identitytoolkit:v2)

2023-04-12

2 new methods

Additions

    Methods
  • identitytoolkit.getRecaptchaConfig

      Parameters:

        tenantId

          Type: string

          Location: query

          Description: The id of a tenant.

        clientType

          Description: reCAPTCHA Enterprise uses separate site keys for different client types. Specify the client type to get the corresponding key.

          Enum:

        • CLIENT_TYPE_UNSPECIFIED
        • CLIENT_TYPE_WEB
        • CLIENT_TYPE_ANDROID
        • CLIENT_TYPE_IOS
        • Type: string

          Enum Descriptions:

        • Client type is not specified.
        • Client type is web.
        • Client type is android.
        • Client type is ios.
        • Location: query

        version

          Type: string

          Enum Descriptions:

        • The reCAPTCHA version is not specified.
        • Use reCAPTCHA Enterprise.
        • Description: The reCAPTCHA version.

          Enum:

        • RECAPTCHA_VERSION_UNSPECIFIED
        • RECAPTCHA_ENTERPRISE
        • Location: query

      Path: v2/recaptchaConfig

      Description: Gets parameters needed for reCAPTCHA analysis.

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: GET

      Flat Path: v2/recaptchaConfig

  • identitytoolkit.accounts.revokeToken

      HTTP Method: POST

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Revokes a user's token from an Identity Provider (IdP). This is done by manually providing an IdP credential, and the token types for revocation. An [API key](https://cloud.google.com/docs/authentication/api-keys) is required in the request in order to identify the Google Cloud project.

      Flat Path: v2/accounts:revokeToken

      Path: v2/accounts:revokeToken