@inrupt/solid-client-access-grants
    Preparing search index...

    Function redirectToRequestor

    • Redirect the user to the client which requested Access to a Resource. The Access Grant is sent as part of the redirect.

      Parameters

      • accessGrantVcId: string | URL

        The ID of the Access Grant VC, which should be a URL

      • redirectUrl: string | URL

        The URL where the client requesting access expects the user to be redirected

      • options: RedirectOptions = {}

        If you are in a NodeJS environment, you must specify a callback to handle the redirection.

      Returns Promise<void>

      A never resolving promise: the user is expected to be redirected away from the page by this call, so no code should be expected to run in that context after the redirect.

      0.5.0