adb-shared 6.0.16 → 6.0.18
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/esm2022/lib/components/adb-user/adb-user-service-config.mjs +3 -2
- package/esm2022/lib/components/adb-user/adb-user.interceptor.mjs +3 -3
- package/esm2022/lib/components/adb-user/adb-user.module.mjs +13 -5
- package/esm2022/lib/components/adb-user/auth-callback.component.mjs +9 -6
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/adb-shared.mjs +92 -83
- package/fesm2022/adb-shared.mjs.map +1 -1
- package/lib/components/adb-user/adb-user-service-config.d.ts +2 -0
- package/lib/components/adb-user/adb-user.interceptor.d.ts +1 -1
- package/lib/components/adb-user/adb-user.module.d.ts +5 -3
- package/lib/components/adb-user/auth-callback.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -7,10 +7,12 @@ export interface AdbUserServiceConfig {
|
|
|
7
7
|
responseType?: string;
|
|
8
8
|
idleTime?: number;
|
|
9
9
|
postLogoutUrl?: string;
|
|
10
|
+
overrideIssuer?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export declare const ADB_USER_SERVICE_CONFIG: InjectionToken<AdbUserServiceConfig>;
|
|
12
13
|
export declare const DEFAULT_ADB_USER_SERVICE_CONFIG: {
|
|
13
14
|
scope: string;
|
|
14
15
|
idleTime: number;
|
|
15
16
|
response_type: string;
|
|
17
|
+
overrideIssuer: boolean;
|
|
16
18
|
};
|
|
@@ -4,7 +4,7 @@ import { AdbUserService } from './adb-user.service';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class AdbUserInterceptor implements HttpInterceptor {
|
|
6
6
|
private adbUserService;
|
|
7
|
-
private static
|
|
7
|
+
private static UNAUTHENTICATED;
|
|
8
8
|
constructor(adbUserService: AdbUserService);
|
|
9
9
|
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
10
10
|
private handleErrors;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ModuleWithProviders } from "@angular/core";
|
|
2
2
|
import { AdbUserServiceConfig } from "./adb-user-service-config";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "@
|
|
4
|
+
import * as i1 from "./auth-callback.component";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/router";
|
|
7
|
+
import * as i4 from "@ngx-translate/core";
|
|
6
8
|
export declare class AdbUserModule {
|
|
7
9
|
static forRoot(config?: AdbUserServiceConfig): ModuleWithProviders<AdbUserModule>;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdbUserModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbUserModule,
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbUserModule, [typeof i1.AuthCallbackComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.TranslateModule], [typeof i1.AuthCallbackComponent]>;
|
|
10
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdbUserModule>;
|
|
11
13
|
}
|
|
@@ -12,5 +12,5 @@ export declare class AuthCallbackComponent implements OnInit {
|
|
|
12
12
|
constructor(activatedRoute: ActivatedRoute, router: Router, http: HttpClient, adbUserService: AdbUserService);
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthCallbackComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthCallbackComponent, "ng-component", never, {}, {}, never, never,
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthCallbackComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -43,3 +43,4 @@ export * from './lib/components/adb-user/adb-user.service';
|
|
|
43
43
|
export * from './lib/components/adb-user/adb-user.interceptor';
|
|
44
44
|
export * from './lib/components/adb-user/auth-callback.component';
|
|
45
45
|
export * from './lib/components/adb-user/user-constants';
|
|
46
|
+
export * from './lib/components/adb-user/adb-user-service-config';
|