@bcweed/authentication-lib 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +17 -0
- package/AngularAuthenticationLibrary.esproj +10 -0
- package/CHANGELOG.md +16 -0
- package/README.md +59 -0
- package/angular.json +66 -0
- package/obj/Debug/AngularAuthenticationLibrary.esproj.CoreCompileInputs.cache +0 -0
- package/obj/Debug/AngularAuthenticationLibrary.esproj.FileListAbsolute.txt +1 -0
- package/obj/Debug/package.g.props +52 -0
- package/package.json +61 -0
- package/projects/authentication-lib/README.md +63 -0
- package/projects/authentication-lib/ng-package.json +7 -0
- package/projects/authentication-lib/package.json +27 -0
- package/projects/authentication-lib/src/lib/auth-callback/auth-callback.component.html +1 -0
- package/projects/authentication-lib/src/lib/auth-callback/auth-callback.component.scss +0 -0
- package/projects/authentication-lib/src/lib/auth-callback/auth-callback.component.spec.ts +23 -0
- package/projects/authentication-lib/src/lib/auth-callback/auth-callback.component.ts +68 -0
- package/projects/authentication-lib/src/lib/auth.service.spec.ts +16 -0
- package/projects/authentication-lib/src/lib/auth.service.ts +213 -0
- package/projects/authentication-lib/src/lib/authentication-error/authentication-error.component.html +7 -0
- package/projects/authentication-lib/src/lib/authentication-error/authentication-error.component.scss +0 -0
- package/projects/authentication-lib/src/lib/authentication-error/authentication-error.component.spec.ts +23 -0
- package/projects/authentication-lib/src/lib/authentication-error/authentication-error.component.ts +32 -0
- package/projects/authentication-lib/src/lib/authentication-lib.module.ts +26 -0
- package/projects/authentication-lib/src/lib/authentication-lib.tokens.ts +4 -0
- package/projects/authentication-lib/src/lib/login/login.component.html +1 -0
- package/projects/authentication-lib/src/lib/login/login.component.scss +0 -0
- package/projects/authentication-lib/src/lib/login/login.component.spec.ts +23 -0
- package/projects/authentication-lib/src/lib/login/login.component.ts +28 -0
- package/projects/authentication-lib/src/lib/login-menu/login-menu.component.html +39 -0
- package/projects/authentication-lib/src/lib/login-menu/login-menu.component.scss +7 -0
- package/projects/authentication-lib/src/lib/login-menu/login-menu.component.spec.ts +23 -0
- package/projects/authentication-lib/src/lib/login-menu/login-menu.component.ts +51 -0
- package/projects/authentication-lib/src/lib/logout/logout.component.html +1 -0
- package/projects/authentication-lib/src/lib/logout/logout.component.scss +0 -0
- package/projects/authentication-lib/src/lib/logout/logout.component.spec.ts +23 -0
- package/projects/authentication-lib/src/lib/logout/logout.component.ts +29 -0
- package/projects/authentication-lib/src/lib/logout-callback/logout-callback.component.html +0 -0
- package/projects/authentication-lib/src/lib/logout-callback/logout-callback.component.scss +0 -0
- package/projects/authentication-lib/src/lib/logout-callback/logout-callback.component.spec.ts +23 -0
- package/projects/authentication-lib/src/lib/logout-callback/logout-callback.component.ts +27 -0
- package/projects/authentication-lib/src/lib/route-history.service.spec.ts +16 -0
- package/projects/authentication-lib/src/lib/route-history.service.ts +31 -0
- package/projects/authentication-lib/src/public-api.ts +14 -0
- package/projects/authentication-lib/tsconfig.lib.json +15 -0
- package/projects/authentication-lib/tsconfig.lib.prod.json +11 -0
- package/projects/authentication-lib/tsconfig.spec.json +15 -0
- package/tsconfig.json +32 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of authentication-lib
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * from './lib/route-history.service';
|
|
6
|
+
export * from './lib/auth.service';
|
|
7
|
+
export * from './lib/authentication-lib.tokens';
|
|
8
|
+
export * from './lib/authentication-lib.module';
|
|
9
|
+
export * from './lib/auth-callback/auth-callback.component';
|
|
10
|
+
export * from './lib/login/login.component';
|
|
11
|
+
export * from './lib/authentication-error/authentication-error.component';
|
|
12
|
+
export * from './lib/login-menu/login-menu.component';
|
|
13
|
+
export * from './lib/logout/logout.component';
|
|
14
|
+
export * from './lib/logout-callback/logout-callback.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "../../tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "../../out-tsc/lib",
|
|
7
|
+
"declaration": true,
|
|
8
|
+
"declarationMap": true,
|
|
9
|
+
"inlineSources": true,
|
|
10
|
+
"types": []
|
|
11
|
+
},
|
|
12
|
+
"exclude": [
|
|
13
|
+
"**/*.spec.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "./tsconfig.lib.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"declarationMap": false
|
|
7
|
+
},
|
|
8
|
+
"angularCompilerOptions": {
|
|
9
|
+
"compilationMode": "partial"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "../../tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "../../out-tsc/spec",
|
|
7
|
+
"types": [
|
|
8
|
+
"jasmine"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"**/*.spec.ts",
|
|
13
|
+
"**/*.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"compileOnSave": false,
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"paths": {
|
|
7
|
+
"authentication-lib": [
|
|
8
|
+
"./dist/authentication-lib"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"outDir": "./dist/out-tsc",
|
|
12
|
+
"strict": true,
|
|
13
|
+
"noImplicitOverride": true,
|
|
14
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
15
|
+
"noImplicitReturns": true,
|
|
16
|
+
"noFallthroughCasesInSwitch": true,
|
|
17
|
+
"skipLibCheck": true,
|
|
18
|
+
"isolatedModules": true,
|
|
19
|
+
"esModuleInterop": true,
|
|
20
|
+
"experimentalDecorators": true,
|
|
21
|
+
"moduleResolution": "bundler",
|
|
22
|
+
"importHelpers": true,
|
|
23
|
+
"target": "ES2022",
|
|
24
|
+
"module": "ES2022"
|
|
25
|
+
},
|
|
26
|
+
"angularCompilerOptions": {
|
|
27
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
28
|
+
"strictInjectionParameters": true,
|
|
29
|
+
"strictInputAccessModifiers": true,
|
|
30
|
+
"strictTemplates": true
|
|
31
|
+
}
|
|
32
|
+
}
|