Created
September 16, 2017 23:27
-
-
Save ivanvs/06f86a7208d36dc531bbd3ac43d909b7 to your computer and use it in GitHub Desktop.
React example how to do authenitcation with Twitter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logout = () => { | |
this.setState({isAuthenticated: false, token: '', user: null}) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment