Skip to main content

OAuthConsentInfo

An interface representing OAuth consent information, including application details and requested scopes.

Properties

  • Name
    clientId
    Type
    string
    Description

    The OAuth client_id identifying the application.

  • Name
    clientMetadataHost?
    Type
    null | string
    Description

    The host that serves the client's Client ID Metadata Document. Null unless clientRegistration is metadata_document.

  • Name
    clientRegistration?
    Type
    "preregistered" | "dynamic" | "metadata_document"
    Description

    How the client's identity was established. Undefined when the backend does not report it.

  • Name
    maxOrganizations?
    Type
    number
    Description

    The most organizations one consent can grant. 1 unless the instance allows a consent for several organizations. Undefined when the value is not reported; treat that as 1.

  • Name
    oauthApplicationLogoUrl
    Type
    string
    Description

    The URL of the OAuth application's logo image.

  • Name
    oauthApplicationName
    Type
    string
    Description

    The display name of the OAuth application requesting access.

  • Name
    oauthApplicationUrl
    Type
    string
    Description

    The homepage URL of the OAuth application.

  • Name
    redirectDomain
    Type
    null | string
    Description

    The PSL-resolved registrable domain of the redirect URI for display on the consent screen. Null when no redirect URI was provided, when it is not registered for the application, or when it points to an IP address or localhost.

  • Name
    scopes
    Type
    OAuthConsentScope[]
    Description

    A list of scopes the application is requesting, with descriptions and consent requirements.

  • Name
    state
    Type
    string
    Description

    The state parameter from the original authorize request.

Feedback

What did you think of this content?

Last updated on