@shad-claiborne/basic-oidc 1.1.11 → 1.1.12
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/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -46,6 +46,9 @@ export interface Identity {
|
|
|
46
46
|
name?: string;
|
|
47
47
|
email?: string;
|
|
48
48
|
}
|
|
49
|
+
export interface IdentityToken extends Identity {
|
|
50
|
+
exp: number;
|
|
51
|
+
}
|
|
49
52
|
/**
|
|
50
53
|
* class AuthorizationRequest
|
|
51
54
|
*/
|
|
@@ -221,7 +224,7 @@ export declare class IdentityProvider {
|
|
|
221
224
|
* @param token string
|
|
222
225
|
* @returns Promise<Identity>
|
|
223
226
|
*/
|
|
224
|
-
decodeIdentityToken(token: string): Promise<
|
|
227
|
+
decodeIdentityToken(token: string): Promise<IdentityToken>;
|
|
225
228
|
/**
|
|
226
229
|
* getIdentity
|
|
227
230
|
* @param tokenSet TokenSet
|