UNPKG

oidc-provider

Version:

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

27 lines (25 loc) 794 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 isAttestationConstrained from './mixins/is_attestation_constrained.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, isAttestationConstrained, isSessionBound(provider), storesAuth, hasFormat(provider, 'BackchannelAuthenticationRequest', provider.BaseToken), ]) { static get IN_PAYLOAD() { return [ ...super.IN_PAYLOAD, 'error', 'errorDescription', 'params', 'rar', ]; } };