Since we got fully rid of the decision dialog, no need to serialze the client anymore

This commit is contained in:
Johannes Zellner
2015-10-14 16:22:50 +02:00
parent c52d985d45
commit 9aa4750f55
-14
View File
@@ -28,20 +28,6 @@ var assert = require('assert'),
var gServer = oauth2orize.createServer();
// Register serialialization and deserialization functions.
//
// The client id is stored in the session and can thus be retrieved for each
// step in the oauth flow transaction, which involves multiple http requests.
gServer.serializeClient(function (client, callback) {
return callback(null, client.id);
});
gServer.deserializeClient(function (id, callback) {
clientdb.get(id, callback);
});
// Register supported grant types.
// Grant authorization codes. The callback takes the `client` requesting