oauth2orize-response-mode

0.1.1 • Public • Published

oauth2orize-response-mode

Version Build Quality Coverage Dependencies

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.grant(require('oauth2orize-response-mode').extensions());

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

The MIT License

Copyright (c) 2015-2017 Jared Hanson <http://jaredhanson.net/>

Sponsor

Readme

Keywords

Package Sidebar

Install

npm i oauth2orize-response-mode

Weekly Downloads

22

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jaredhanson