File tree 4 files changed +7
-8
lines changed
4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 7
7
* @hidden
8
8
*/
9
9
import { AadAuthority } from "./AadAuthority" ;
10
- import { B2cAuthority } from "./B2cAuthority" ;
10
+ import { B2cAuthority , B2CTrustedHostList } from "./B2cAuthority" ;
11
11
import { Authority , AuthorityType } from "./Authority" ;
12
12
import { StringUtils } from "../utils/StringUtils" ;
13
13
import { UrlUtils } from "../utils/UrlUtils" ;
14
14
import { ClientConfigurationError } from "../error/ClientConfigurationError" ;
15
15
16
- export const B2CTrustedHostList : object = { } ;
17
-
18
16
export class AuthorityFactory {
19
17
/**
20
18
* Use when Authority is B2C and validateAuthority is set to True to provide list of allowed domains.
Original file line number Diff line number Diff line change 6
6
import { Authority } from "./Authority" ;
7
7
import { AuthorityType } from "./Authority" ;
8
8
import { ClientConfigurationError } from "../error/ClientConfigurationError" ;
9
- import { AuthorityFactory , B2CTrustedHostList } from "./AuthorityFactory" ;
9
+
10
+ export const B2CTrustedHostList : object = { } ;
10
11
11
12
/**
12
13
* @hidden
Original file line number Diff line number Diff line change 1
1
import { expect } from "chai" ;
2
2
import { ClientConfigurationError , ClientConfigurationErrorMessage } from "../../src/error/ClientConfigurationError" ;
3
- import { AuthorityFactory , B2CTrustedHostList } from "../../src/authority/AuthorityFactory" ;
3
+ import { AuthorityFactory } from "../../src/authority/AuthorityFactory" ;
4
4
import { AadAuthority } from "../../src/authority/AadAuthority" ;
5
- import { B2cAuthority } from "../../src/authority/B2cAuthority" ;
5
+ import { B2cAuthority , B2CTrustedHostList } from "../../src/authority/B2cAuthority" ;
6
6
import { B2C_TEST_CONFIG , TEST_CONFIG } from "../TestConstants" ;
7
7
8
8
describe ( "AuthorityFactory.ts Class" , function ( ) {
Original file line number Diff line number Diff line change 1
1
import { expect } from "chai" ;
2
2
import { ClientConfigurationError , ClientConfigurationErrorMessage } from "../../src/error/ClientConfigurationError" ;
3
3
import { AuthorityType } from "../../src/authority/Authority" ;
4
- import { B2cAuthority } from "../../src/authority/B2cAuthority" ;
4
+ import { B2cAuthority , B2CTrustedHostList } from "../../src/authority/B2cAuthority" ;
5
5
import { B2C_TEST_CONFIG } from "../TestConstants" ;
6
- import { B2CTrustedHostList , AuthorityFactory } from "../../src/authority/AuthorityFactory" ;
6
+ import { AuthorityFactory } from "../../src/authority/AuthorityFactory" ;
7
7
8
8
describe ( "B2cAuthority.ts Class" , function ( ) {
9
9
let authority = null ;
You can’t perform that action at this time.
0 commit comments