Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private async fetchServiceConfiguration(configuration: AuthorizationConfig) {
const response = await AuthorizationServiceConfiguration.fetchFromIssuer(configuration.issuer_uri, this.requestor);
this._serviceConfigs.next(response);
}
public async initialize(requestContext: ClientRequestContext): Promise {
const url = await this.getUrl(requestContext);
this._configuration = await AuthorizationServiceConfiguration.fetchFromIssuer(
url,
this._nodeRequestor,
);
Logger.logTrace(loggerCategory, "Initialized service configuration", () => ({ configuration: this._configuration }));
}