-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(xuinode): fixed dynamic import issue when compiling with webpack (#…
…75) Also fixed issue with cached authenticate method of wrapper
- Loading branch information
Showing
16 changed files
with
41 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { default as oauth2 } from './oauth2.class' | ||
export { oauth2 } from './oauth2.class' | ||
export { OAuth2Metadata } from './OAuth2Metadata.interface' | ||
export { XUIOAuth2Strategy } from './XUIOAuth2Strategy.class' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,4 @@ export class OAuth2 extends Strategy { | |
} | ||
} | ||
|
||
export default new OAuth2() | ||
export const oauth2 = new OAuth2() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { default as oidc } from './openid.class' | ||
export { oidc } from './openid.class' | ||
export { OpenIDMetadata } from './OpenIDMetadata.interface' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,4 +171,4 @@ export class OpenID extends AuthStrategy { | |
} | ||
} | ||
|
||
export default new OpenID() | ||
export const oidc = new OpenID() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export { DecodedJWT } from './decodedJwt.interface' | ||
export { default as s2s } from './s2s.class' | ||
export { s2s } from './s2s.class' | ||
export { S2S } from './s2s.constants' | ||
export { S2SConfig } from './s2sConfig.interface' | ||
export { S2SToken } from './s2sToken.interface' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,4 +141,4 @@ export class S2SAuth extends EventEmitter { | |
} | ||
} | ||
|
||
export default new S2SAuth() | ||
export const s2s = new S2SAuth() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { default as xuiNode } from './xuiNode.class' | ||
export { xuiNode } from './xuiNode.class' | ||
export { XuiNodeOptions } from './xuiNodeOptions.interface' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { createMock } from 'ts-auto-mock' | ||
|
||
import fileSessionStore from './fileSessionStore.class' | ||
import { fileStore } from './fileSessionStore.class' | ||
import { FileSessionMetadata } from './sessionMetadata.interface' | ||
|
||
describe('getStore()', () => { | ||
it('should return', () => { | ||
const fileSessionMetadata = createMock<FileSessionMetadata>() | ||
expect(fileSessionStore.getStore(fileSessionMetadata)).toBeDefined() | ||
expect(fileStore.getStore(fileSessionMetadata)).toBeDefined() | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { SessionMetadata } from './sessionMetadata.interface' | ||
export { default as redisStore } from './redisSessionStore.class' | ||
export { default as fileStore } from './fileSessionStore.class' | ||
export { redisStore } from './redisSessionStore.class' | ||
export { fileStore } from './fileSessionStore.class' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters