We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12ba347 commit 294e105Copy full SHA for 294e105
src/state/KindeProvider.tsx
@@ -379,8 +379,9 @@ export const KindeProvider = ({
379
380
getClaim: async <T, V = string | number | string[]>(
381
keyName: keyof T,
382
+ tokenType?: "accessToken" | "idToken"
383
): Promise<{ name: keyof T; value: V } | null> => {
- return getClaim<T, V>(keyName);
384
+ return getClaim<T, V>(keyName, tokenType);
385
},
386
getClaims: async <T = undefined,>(
387
...args: Parameters<typeof getClaims>
0 commit comments