@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -1
  2. 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<Identity>;
227
+ decodeIdentityToken(token: string): Promise<IdentityToken>;
225
228
  /**
226
229
  * getIdentity
227
230
  * @param tokenSet TokenSet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shad-claiborne/basic-oidc",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Basic OpenID Connect library",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",