Variable utilsServicesProviderConst

utilsServicesProvider: {
    ensureBearerTokenProvider: ResourceCreator<"provider", "register", ((options?) => ((app) => void)), ProviderRegisterFn<Jimpex>>;
} & Record<string, Resource<"provider", "register", ProviderRegisterFn<Jimpex>>> & {} & {} & Record<string, unknown> = ...

Registers all the utility services on the container.

Type declaration

  • ensureBearerTokenProvider: ResourceCreator<"provider", "register", ((options?) => ((app) => void)), ProviderRegisterFn<Jimpex>>

Type declaration

    Type declaration

      Example

      // Register the collection on the container
      container.register(utilsServicesProvider);
      // Getting access to one the services instance
      const ensureBearerToken = container.get<EnsureBearerToken>('ensureBearerToken');

      Generated using TypeDoc