APIRequestFields: {
    CLIENT_ID_KEY: "client_id";
    CONTENT_TYPE_KEY: "content-type";
    GRANT_TYPE_KEY: "grant_type";
    IDENTITY_PROVIDER_KEY: "identity_provider";
    OAUTH_CODE_GRANT_TYPE: "authorization_code";
    OAUTH_CODE_RESPONSE_TYPE: "code";
    REDIRECT_URI_KEY: "redirect_uri";
    RESPONSE_TYPE_KEY: "response_type";
    URL_ENCODED_CONTENT_TYPE: "application/x-www-form-urlencoded";
} = ...

An object containing API request fields.

Type declaration

  • ReadonlyCLIENT_ID_KEY: "client_id"

    Key for the client ID.

  • ReadonlyCONTENT_TYPE_KEY: "content-type"

    Key for the content type.

  • ReadonlyGRANT_TYPE_KEY: "grant_type"

    Key for the grant type.

  • ReadonlyIDENTITY_PROVIDER_KEY: "identity_provider"

    Key for the identity provider.

  • ReadonlyOAUTH_CODE_GRANT_TYPE: "authorization_code"

    Value for the grant type.

  • ReadonlyOAUTH_CODE_RESPONSE_TYPE: "code"

    Value for the response type.

  • ReadonlyREDIRECT_URI_KEY: "redirect_uri"

    Key for the redirect URI.

  • ReadonlyRESPONSE_TYPE_KEY: "response_type"

    Key for the response type.

  • ReadonlyURL_ENCODED_CONTENT_TYPE: "application/x-www-form-urlencoded"

    Value for the content type.