analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
18 lines • 440 B
TypeScript
/**
* Hook to check if authentication tokens are present in the URL
*
* @returns {object} Object with hasTokenInUrl boolean indicating if tokens are present
*
* @example
* ```typescript
* const { hasTokenInUrl } = useTokenInUrl();
*
* if (hasTokenInUrl) {
* // Show loading/validation component
* }
* ```
*/
export declare function useTokenInUrl(): {
hasTokenInUrl: boolean;
};
//# sourceMappingURL=useTokenInUrl.d.ts.map