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
|
#### Logout function
|
||||||
|
|
||||||
```js
|
```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
|
// create a new express route
|
||||||
app.get('logout',(req,res)=>{
|
app.get('logout',(req,res)=>{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@sapphirecode/auth-server-helper",
|
"name": "@sapphirecode/auth-server-helper",
|
||||||
"version": "4.0.1",
|
"version": "4.0.2",
|
||||||
"main": "dist/lib/index.js",
|
"main": "dist/lib/index.js",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Timo Hocker",
|
"name": "Timo Hocker",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user