Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

logout user firebase

//fireBase 9

// do your imports 
import { getAuth, signOut } from "firebase/auth";

// initliase your auth 
const auth = getAuth();
// singout :)
signOut(auth).then(() => {
  // Sign-out successful.
}).catch((error) => {
  // An error happened.
});
Comment

PREVIOUS NEXT
Code Example
Javascript :: send refresh token in axios interceptor 
Javascript :: getx arguments 
Javascript :: javascript name capitalization 
Javascript :: gulp runSequence 
Javascript :: jquery select option by text 
Javascript :: delete cookies by domain javascript 
Javascript :: last week date js 
Javascript :: js read from json 
Javascript :: javascrpt formatBytes 
Javascript :: Two different lockfiles found: package-lock.json and yarn.lock 
Javascript :: process.env in nextjs 
Javascript :: slick slider multiple sliders on one page 
Javascript :: react import css only for component 
Javascript :: Html2Canvas screenshot and download 
Javascript :: res.status 
Javascript :: how to get enum item name in javascript 
Javascript :: how to split string into array javascript 
Javascript :: javascript remove underscore and capitalize 
Javascript :: convert long date to short date javascript 
Javascript :: datetime knex 
Javascript :: is java and javascript the same 
Javascript :: javascript get html slider value 
Javascript :: aos animation angular 
Javascript :: mysql json array contains 
Javascript :: javascript hashtag url 
Javascript :: how to remove empty spaces befiore string js 
Javascript :: set min date field to current date 
Javascript :: how to remove last digit from number in javascript 
Javascript :: window.location.search get parameters react 
Javascript :: dynamically change css class with javascript 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =