<commit_before>import { NgModule } from '@angular/core';
import { AbstractSecurityStorage, AuthModule, LogLevel } from 'angular-auth-oidc-client';

export class MyStorageService extends AbstractSecurityStorage {
  read(key: string) {
    throw new Error('Method not implemented.');
  }
  write(key: string, value: any): void {
    throw new Error('Method not implemented.');
  }
  remove(key: string): void {
    throw new Error('Method not implemented.');
  }
  clear(): void {
    throw new Error('Method not implemented.');
  }
  constructor() {
    super();
  }
}

@NgModule({
  imports: [
    AuthModule.forRoot({
      config: {
        authority: 'https://dev-damienbod.eu.auth0.com',
        redirectUrl: window.location.origin,
        postLogoutRedirectUri: window.location.origin,
        clientId: 'Ujh5oSBAFr1BuilgkZPcMWEgnuREgrwU',
        scope: 'openid profile offline_access auth0-user-api-spa',
        responseType: 'code',
        silentRenew: true,
        useRefreshToken: true,
        logLevel: LogLevel.Debug,
        customParamsAuthRequest: {
          audience: 'https://auth0-api-spa',
        },
        customParamsRefreshTokenRequest: {
          scope: 'openid profile offline_access auth0-user-api-spa',
        },
      },
    }),
  ],
  providers: [
    // { provide: AbstractSecurityStorage, useClass: MyStorageService },
    //{ provide: LoggerService, useClass: MyLoggerService },
  ],
  exports: [AuthModule],
})
export class AuthConfigModule {}
<commit_msg>Removed from sample<commit_after>import { NgModule } from '@angular/core';
import { AuthModule, LogLevel } from 'angular-auth-oidc-client';

@NgModule({
  imports: [
    AuthModule.forRoot({
      config: {
        authority: 'https://dev-damienbod.eu.auth0.com',
        redirectUrl: window.location.origin,
        postLogoutRedirectUri: window.location.origin,
        clientId: 'Ujh5oSBAFr1BuilgkZPcMWEgnuREgrwU',
        scope: 'openid profile offline_access auth0-user-api-spa',
        responseType: 'code',
        silentRenew: true,
        useRefreshToken: true,
        logLevel: LogLevel.Debug,
        customParamsAuthRequest: {
          audience: 'https://auth0-api-spa',
        },
        customParamsRefreshTokenRequest: {
          scope: 'openid profile offline_access auth0-user-api-spa',
        },
      },
    }),
  ],
  providers: [
    // { provide: AbstractSecurityStorage, useClass: MyStorageService },
    // { provide: LoggerService, useClass: MyLoggerService },
  ],
  exports: [AuthModule],
})
export class AuthConfigModule {}

{'fraction_non_alphanumeric': 0.12358232303480642, 'fraction_numerical': 0.004692999608916699, 'mean_word_length': 2.965891472868217, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3833367', 'n_tokens_mistral': 775, 'n_tokens_neox': 776, 'n_words': 156}