How to use the @blackbaud/auth-client.BBAuth.getToken function in @blackbaud/auth-client

To help you get started, we’ve selected a few @blackbaud/auth-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github blackbaud / skyux-builder / runtime / bootstrapper.ts View on Github external
public static processBootstrapConfig(): Promise {
    if (SkyAppBootstrapper.config && SkyAppBootstrapper.config.auth) {
      return BBAuth.getToken()
        .then(() => {
          const currentUrl = this.getUrl();

          const params = new SkyAppRuntimeConfigParams(
            currentUrl,
            this.config.params!
          );

          const ensureContextArgs: BBContextArgs = {
            envId: params.get('envid'),
            envIdRequired: params.isRequired('envid'),
            leId: params.get('leid'),
            leIdRequired: params.isRequired('leid'),
            svcId: params.get('svcid'),
            svcIdRequired: params.isRequired('svcid'),
            url: currentUrl
github blackbaud / skyux-builder / runtime / auth-token-provider.ts View on Github external
public getToken(args?: BBAuthGetTokenArgs): Promise {
    return BBAuth.getToken(args);
  }

@blackbaud/auth-client

Provides methods for obtaining an authentication token from the Blackbaud authentication service.

MIT
Latest version published 7 months ago

Package Health Score

45 / 100
Full package analysis

Similar packages