Skip to content

Commit

Permalink
Merge pull request #1076 from damienbod/fabiangosebrink/Export-AuthOp…
Browse files Browse the repository at this point in the history
…tions-from-the-module

exported and moved authOptions
  • Loading branch information
damienbod committed Apr 29, 2021
2 parents b3b2621 + bcf37bb commit 003d3ce
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Public classes.

export * from './auth-options';
export * from './auth.module';
export * from './authState/authorization-result';
export * from './authState/authorized-state';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { AuthOptions } from './auth-options';
import { AuthOptions } from '../auth-options';
import { PopupOptions } from './popup/popup-options';

@Injectable()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AuthOptions } from '../auth-options';
import { ConfigurationProvider } from '../config/config.provider';
import { AuthOptions } from './auth-options';
import { LoginResponse } from './login-response';
import { ParLoginService } from './par/par-login.service';
import { PopUpLoginService } from './popup/popup-login.service';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { AuthOptions } from '../auth-options';
import { AuthOptions } from '../../auth-options';
import { PopupOptions } from '../popup/popup-options';

@Injectable()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Injectable } from '@angular/core';
import { Observable, of, throwError } from 'rxjs';
import { map, switchMap, take } from 'rxjs/operators';
import { AuthOptions } from '../../auth-options';
import { AuthStateService } from '../../authState/auth-state.service';
import { CheckAuthService } from '../../check-auth.service';
import { AuthWellKnownService } from '../../config/auth-well-known.service';
Expand All @@ -9,7 +10,6 @@ import { LoggerService } from '../../logging/logger.service';
import { UserService } from '../../userData/user-service';
import { RedirectService } from '../../utils/redirect/redirect.service';
import { UrlService } from '../../utils/url/url.service';
import { AuthOptions } from '../auth-options';
import { LoginResponse } from '../login-response';
import { PopupOptions } from '../popup/popup-options';
import { PopUpService } from '../popup/popup.service';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AuthOptions } from '../auth-options';
import { AuthOptions } from '../../auth-options';
import { PopupOptions } from '../popup/popup-options';

export class PopUpLoginServiceMock {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Injectable } from '@angular/core';
import { Observable, of, throwError } from 'rxjs';
import { map, switchMap, take } from 'rxjs/operators';
import { AuthOptions } from '../../auth-options';
import { AuthStateService } from '../../authState/auth-state.service';
import { CheckAuthService } from '../../check-auth.service';
import { AuthWellKnownService } from '../../config/auth-well-known.service';
import { ConfigurationProvider } from '../../config/config.provider';
import { LoggerService } from '../../logging/logger.service';
import { UserService } from '../../userData/user-service';
import { UrlService } from '../../utils/url/url.service';
import { AuthOptions } from '../auth-options';
import { LoginResponse } from '../login-response';
import { PopupOptions } from '../popup/popup-options';
import { PopUpService } from '../popup/popup.service';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AuthOptions } from '../auth-options';
import { AuthOptions } from '../../auth-options';

export class StandardLoginServiceMock {
loginStandard(authOptions?: AuthOptions) {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Injectable } from '@angular/core';
import { AuthOptions } from '../../auth-options';
import { AuthWellKnownService } from '../../config/auth-well-known.service';
import { ConfigurationProvider } from '../../config/config.provider';
import { LoggerService } from '../../logging/logger.service';
import { RedirectService } from '../../utils/redirect/redirect.service';
import { UrlService } from '../../utils/url/url.service';
import { AuthOptions } from '../auth-options';
import { ResponseTypeValidationService } from '../response-type-validation/response-type-validation.service';

@Injectable()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AuthOptions } from './auth-options';
import { AuthStateService } from './authState/auth-state.service';
import { CallbackService } from './callback/callback.service';
import { RefreshSessionService } from './callback/refresh-session.service';
Expand All @@ -8,7 +9,6 @@ import { ConfigurationProvider } from './config/config.provider';
import { PublicConfiguration } from './config/public-configuration';
import { FlowsDataService } from './flows/flows-data.service';
import { CheckSessionService } from './iframe/check-session.service';
import { AuthOptions } from './login/auth-options';
import { LoginService } from './login/login.service';
import { PopupOptions } from './login/popup/popup-options';
import { LogoffRevocationService } from './logoffRevoke/logoff-revocation.service';
Expand Down

0 comments on commit 003d3ce

Please sign in to comment.