Skip to content

Commit

Permalink
Remove deprecated prOidc
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Aug 9, 2024
1 parent 2eee2bf commit 5c47542
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/react/react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ type OidcReactApi<
(params?: { assertUserLoggedIn: false }): OidcReact<DecodedIdToken>;
(params: { assertUserLoggedIn: true }): OidcReact.LoggedIn<DecodedIdToken>;
};
/** @deprecated: Use getOidc instead */
prOidc: Promise<
IsAuthGloballyRequired extends true ? Oidc.LoggedIn<DecodedIdToken> : Oidc<DecodedIdToken>
>;
getOidc: () => Promise<
IsAuthGloballyRequired extends true ? Oidc.LoggedIn<DecodedIdToken> : Oidc<DecodedIdToken>
>;
Expand Down Expand Up @@ -340,8 +336,6 @@ export function createOidcReactApi_dependencyInjection<
// @ts-expect-error: We know what we are doing
useOidc,
// @ts-expect-error: We know what we are doing
prOidc,
// @ts-expect-error: We know what we are doing
getOidc: () => {
dReadyToCreate.resolve();
return prOidc;
Expand Down

0 comments on commit 5c47542

Please sign in to comment.