Handles the OIDC consent prompts where the user confirms they want to log in for the given client.

Returns all the relevant Client metadata on GET requests.

Hierarchy

Constructors

Properties

providerFactory: ProviderFactory

Methods

  • Either returns the grant associated with the given interaction or creates a new one if it does not exist yet.

    Parameters

    • oidcInteraction: Interaction

    Returns Promise<Grant>

  • Updates the grant with all the missing scopes and claims requested by the interaction.

    Will reject the offline_access scope if remember is false.

    Parameters

    • grant: Grant
    • details: UnknownObject
    • remember: boolean

    Returns void

  • Updates the interaction with the new grant and returns the resulting redirect URL.

    Parameters

    • oidcInteraction: Interaction
    • grant: Grant

    Returns Promise<string>