Kind: global class
Revokes a token.
Kind: instance method of [AuthFacet](#AuthFacet)
See: auth.revoke
Param | Type | Description |
---|---|---|
[opts] | Object |
|
opts.test | ? |
Setting this parameter to 1 triggers a testing mode where the specified token will not actually be revoked. |
[optCb] | function |
Optional callback, if not using promises. |
Checks authentication & identity.
Kind: instance method of [AuthFacet](#AuthFacet)
See: auth.test
Param | Type | Description |
---|---|---|
[optCb] | function |
Optional callback, if not using promises. |