FHIRClient - v3.0.0
    Preparing search index...

    Variable authorize

    authorize: (options: AuthorizeParams) => Promise<string | void>

    Type Declaration

      • (options: AuthorizeParams): Promise<string | void>
      • Starts the SMART Launch Sequence.

        IMPORTANT: authorize() will end up redirecting you to the authorization server. This means that you should not add anything to the returned promise chain. Any code written directly after the authorize() call might not be executed due to that redirect!

        The options that you would typically pass for an EHR launch are just clientId and scope. For standalone launch you should also provide the iss option.

        Parameters

        Returns Promise<string | void>