UNPKG

oidc-provider

Version:

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

24 lines (22 loc) 674 B
import apply from './mixins/apply.js'; import consumable from './mixins/consumable.js'; import hasFormat from './mixins/has_format.js'; import hasGrantId from './mixins/has_grant_id.js'; import isSessionBound from './mixins/is_session_bound.js'; import storesAuth from './mixins/stores_auth.js'; export default (provider) => class BackchannelAuthenticationRequest extends apply([ consumable, hasGrantId, isSessionBound(provider), storesAuth, hasFormat(provider, 'BackchannelAuthenticationRequest', provider.BaseToken), ]) { static get IN_PAYLOAD() { return [ ...super.IN_PAYLOAD, 'error', 'errorDescription', 'params', ]; } };