iya-sts
    Preparing search index...

    Variable createGrant

    createGrant: (req: any, asId: any) => Promise<any> = ...

    Type Declaration

      • (req: any, asId: any): Promise<any>
      • Handles a new grant request (section 2): identifies the client, decides the access, and answers with tokens, an interaction, or both.

        Parameters

        • req: any

          the request to the grant endpoint

        • asId: any

          the authorization server's name

        Returns Promise<any>

        { ok: true, status, body, grant }, or a refusal