This commit is contained in:
parent
6856ac718f
commit
910099285b
@ -171,7 +171,9 @@ await blacklist.add_signature(token_id); // the token id is returned from any fu
|
||||
#### Logout function
|
||||
|
||||
```js
|
||||
const {logout} = require('@sapphirecode/auth-server-helper');
|
||||
const {GatewayClass} = require('@sapphirecode/auth-server-helper');
|
||||
|
||||
const gateway = new GatewayClass({ /* options */ });
|
||||
|
||||
// create a new express route
|
||||
app.get('logout',(req,res)=>{
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sapphirecode/auth-server-helper",
|
||||
"version": "4.0.1",
|
||||
"version": "4.0.2",
|
||||
"main": "dist/lib/index.js",
|
||||
"author": {
|
||||
"name": "Timo Hocker",
|
||||
|
Loading…
x
Reference in New Issue
Block a user