oauth2orize-response-mode
OAuth2orize extension providing support for requesting a particular response mode.
This response_mode
parameter is defined by OAuth 2.0 Multiple Response Type Encoding Practices
and allows a client to request a particular mechanism for returning the
authorization response, other than the default redirection-based mechanism
using query and fragment encoding as specified by OAuth 2.0.
Install
$ npm install oauth2orize-response-mode
Usage
Parse Request Extensions
In order to parse the additional parameter used to request a response mode,
register support for this extension with a Server
instance:
server;
Add Additional Response Modes
Support for additional response modes can be added by extending the Server
instance using separately packaged modules. Form Post response mode is
implemented by oauth2orize-fprm.
Web Message response mode is implemented by oauth2orize-wmrm.
License
Copyright (c) 2015-2017 Jared Hanson <http://jaredhanson.net/>