api report

Signed-off-by: Stephen Glass <stephen@stephen.glass>
This commit is contained in:
Stephen Glass
2024-08-14 00:11:46 -04:00
parent f82952433f
commit 2ae5f4b2f7
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -36,4 +36,10 @@ export function useCookieAuthRefresh(options: { pluginId: string }):
expiresAt: string;
};
};
// @public
export function useSignInAuthError(): {
error: Error | undefined;
checkAuthError: () => void;
};
```
@@ -18,6 +18,10 @@ import { discoveryApiRef, useApi } from '@backstage/core-plugin-api';
import { useAsync } from '@react-hookz/web';
import { deserializeError } from '@backstage/errors';
/**
* @public
* A hook that will fetch any sign in auth error in redirect auth flow
*/
export function useSignInAuthError(): {
error: Error | undefined;
checkAuthError: () => void;