We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3f1ee6 commit 2a0a7baCopy full SHA for 2a0a7ba
README.md
@@ -71,6 +71,9 @@ netlifyIdentity.close();
71
72
// Log out the user
73
netlifyIdentity.logout();
74
+// refresh the user's JWT
75
+// Note: this method returns a promise.
76
+netlifyIdentity.refresh().then((jwt)=>console.log(jwt))
77
```
78
79
#### A note on script tag versioning
@@ -113,6 +116,10 @@ netlifyIdentity.close();
113
116
114
117
115
118
119
120
121
122
+
123
// Access the underlying GoTrue JS client.
124
// Note that doing things directly through the GoTrue client brings a risk of getting out of
125
// sync between your state and the widget’s state.
0 commit comments