@odx/auth 1.0.0-rc.4 → 1.0.0-rc.5
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/README.md +5 -11
- package/esm2020/lib/auth.component.mjs +3 -3
- package/esm2020/lib/auth.config.mjs +3 -3
- package/esm2020/lib/auth.directive.mjs +3 -3
- package/esm2020/lib/auth.module.mjs +5 -12
- package/esm2020/lib/auth.providers.mjs +8 -8
- package/esm2020/lib/auth.service.mjs +6 -6
- package/esm2020/lib/directives/sign-in.directive.mjs +3 -3
- package/esm2020/lib/directives/sign-out.directive.mjs +3 -3
- package/fesm2015/odx-auth.mjs +39 -45
- package/fesm2015/odx-auth.mjs.map +1 -1
- package/fesm2020/odx-auth.mjs +39 -45
- package/fesm2020/odx-auth.mjs.map +1 -1
- package/lib/auth.config.d.ts +2 -2
- package/lib/auth.module.d.ts +0 -4
- package/lib/auth.providers.d.ts +3 -3
- package/package.json +1 -1
package/lib/auth.providers.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ConfigDependencies, ConfigProvider } from '@odx/angular/utils';
|
|
3
3
|
import { OAuthModuleConfig } from 'angular-oauth2-oidc';
|
|
4
|
-
import {
|
|
4
|
+
import { AuthConfig } from './auth.config';
|
|
5
5
|
export declare function configureInterceptor(): OAuthModuleConfig;
|
|
6
6
|
export declare function initializeAuthErrorHandler(): void;
|
|
7
7
|
export declare function initalizeAuthConfig(): () => Promise<void>;
|
|
8
|
-
export declare function provideAuth<D extends
|
|
8
|
+
export declare function provideAuth<D extends ConfigDependencies>(config: ConfigProvider<Partial<AuthConfig>, D>): EnvironmentProviders;
|