UNPKG

@strongnguyen/oidc-provider

Version:

OAuth 2.0 Authorization Server implementation for Node.js with OpenID Connect

13 lines (11 loc) 255 B
module.exports = (superclass) => class extends superclass { static async revokeByGrantId(grantId) { await this.adapter.revokeByGrantId(grantId); } static get IN_PAYLOAD() { return [ ...super.IN_PAYLOAD, 'grantId', ]; } };