Slack Developer Kit for Node.js
Go to GitHub

AuthFacet

Kind: global class

authFacet.revoke([opts], [optCb])

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.

authFacet.test([optCb])

Checks authentication & identity.

Kind: instance method of [AuthFacet](#AuthFacet)
See: auth.test

Param Type Description
[optCb] function Optional callback, if not using promises.