@rangs/auth0-lib 0.0.13 → 0.0.15
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/fesm2022/rangs-auth0-lib.mjs +1 -1
- package/index.d.ts +20 -1
- package/package.json +1 -1
|
@@ -240,5 +240,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
|
|
|
240
240
|
* Generated bundle index. Do not edit.
|
|
241
241
|
*/
|
|
242
242
|
|
|
243
|
-
export { AuthModule, RoleContextService, TokenService };
|
|
243
|
+
export { AuthModule, CredentialingService, RoleContextService, TokenService };
|
|
244
244
|
//# sourceMappingURL=rangs-auth0-lib.mjs.map
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
+
import { Signal } from '@angular/core';
|
|
2
3
|
import * as i1 from '@auth0/auth0-angular';
|
|
3
4
|
import { AuthService } from '@auth0/auth0-angular';
|
|
4
5
|
import * as rxjs from 'rxjs';
|
|
@@ -17,6 +18,8 @@ interface RoleContextModel {
|
|
|
17
18
|
tenantLogo?: string;
|
|
18
19
|
tenantphone?: string;
|
|
19
20
|
tenantBio: string;
|
|
21
|
+
tenantLatitude?: number;
|
|
22
|
+
tenantLongitude?: number;
|
|
20
23
|
roleId: string;
|
|
21
24
|
roleName: string;
|
|
22
25
|
normalizedName: string;
|
|
@@ -28,6 +31,8 @@ interface RoleContextModel {
|
|
|
28
31
|
phoneNumber: string;
|
|
29
32
|
headshotUrl?: string;
|
|
30
33
|
address: string;
|
|
34
|
+
latitude?: number;
|
|
35
|
+
longitude?: number;
|
|
31
36
|
isSuperAdmin: boolean;
|
|
32
37
|
}
|
|
33
38
|
|
|
@@ -88,5 +93,19 @@ declare class TokenService {
|
|
|
88
93
|
static ɵprov: i0.ɵɵInjectableDeclaration<TokenService>;
|
|
89
94
|
}
|
|
90
95
|
|
|
91
|
-
|
|
96
|
+
declare class CredentialingService {
|
|
97
|
+
private store;
|
|
98
|
+
/** Get signal for a key (auto-create if missing) */
|
|
99
|
+
get<T>(key: string): Signal<T | null>;
|
|
100
|
+
/** Set value for a key */
|
|
101
|
+
set<T>(key: string, value: T): void;
|
|
102
|
+
/** Optional: clear single key */
|
|
103
|
+
clear(key: string): void;
|
|
104
|
+
/** Optional: clear everything */
|
|
105
|
+
clearAll(): void;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CredentialingService, never>;
|
|
107
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CredentialingService>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { AuthModule, CredentialingService, RoleContextService, TokenService };
|
|
92
111
|
export type { RoleContextModel, TempUserModel };
|