@falcon-ng/tailwind 0.0.9 → 0.0.10

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.
@@ -1,8 +1,8 @@
1
- import { Profile, User, UserManagerSettings } from 'oidc-client';
2
1
  import { LoggerService } from '../logger.service';
3
2
  import { TokenHelperService } from './TokenHelperService';
4
- import { EnvironmentViewModel } from "../../model/environments";
5
- import { AppSettingService } from "../appsetting.service";
3
+ import { EnvironmentViewModel } from '../../model/environments';
4
+ import { AppSettingService } from '../appsetting.service';
5
+ import { User, UserManager, UserManagerSettings, UserProfile } from 'oidc-client-ts';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AuthService {
8
8
  private logger;
@@ -10,7 +10,7 @@ export declare class AuthService {
10
10
  static USER_LOADED_EVENT: string;
11
11
  static USER_UNLOADED_EVENT: string;
12
12
  private initialized;
13
- private userManager;
13
+ userManager: UserManager;
14
14
  private user;
15
15
  settings: UserManagerSettings;
16
16
  private accessToken;
@@ -19,14 +19,13 @@ export declare class AuthService {
19
19
  initialize(environment: EnvironmentViewModel): Promise<void>;
20
20
  isLoggedIn(): boolean;
21
21
  getUser(): Promise<User | null>;
22
- getProfile(): Profile;
23
- getClaims(): Profile;
22
+ getProfile(): UserProfile;
23
+ getClaims(): UserProfile;
24
24
  getAuthorizationHeaderValue(): string;
25
25
  getAccessToken(): any;
26
26
  startAuthentication(returnUrl: string): Promise<void>;
27
- completeAuthentication(): Promise<Oidc.User>;
28
27
  login(): Promise<void>;
29
- renewToken(): Promise<User>;
28
+ renewToken(): Promise<User | null>;
30
29
  logout(signoutRedirect?: boolean): Promise<void>;
31
30
  private getClientSettings;
32
31
  isServiceReady(): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@falcon-ng/tailwind",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.5",
6
6
  "@angular/core": "^17.0.5"