* Constructor.
(options)
| 15 | */ |
| 16 | |
| 17 | function OAuth2Server(options) { |
| 18 | options = options || {}; |
| 19 | |
| 20 | if (!options.model) { |
| 21 | throw new InvalidArgumentError('Missing parameter: `model`'); |
| 22 | } |
| 23 | |
| 24 | this.options = options; |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Authenticate a token. |
nothing calls this directly
no outgoing calls
no test coverage detected