UNPKG

oidc-provider

Version:

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

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