whodis-react-storage-browser
Version:
React hooks and components for secure, best practices authentication in seconds
11 lines (10 loc) • 368 B
TypeScript
/**
* delete the synchronization cookie
*
* usecases
* - browser detects that the anti-csrf token is not in sync w/ auth token -> delete the sync cookie to inform server that user is logged out
*
* note
* - decodes the synchronization token to extract the domain and path to correctly delete it
*/
export declare const deleteSynchronizationCookie: () => void;