{"push_id":600689485,"size":7,"distinct_size":7,"ref":"refs/heads/feature-scope","head":"92d4ea762e0c6c5f882a4cc727826d3c05d9a054","before":"01450c39deec3cb6497792e9c42e450eec2e8607","commits":[{"sha":"eec2eed660414cd9050a7c5511acd50cbd9b1d61","author":{"email":"c1bb62226a2370f7b652b9b81a8f686f36776a42@gmail.com","name":"Nuno Sousa"},"message":"Fix parameter order in postgres model","distinct":true,"url":"https://api.github.com/repos/ubilogix/node-oauth2-server/commits/eec2eed660414cd9050a7c5511acd50cbd9b1d61"},{"sha":"ceb8fab1da51de0a4c8faa1c3679641a29dd4ad0","author":{"email":"c1bb62226a2370f7b652b9b81a8f686f36776a42@gmail.com","name":"Nuno Sousa"},"message":"Improve scope support in authorise middleware","distinct":true,"url":"https://api.github.com/repos/ubilogix/node-oauth2-server/commits/ceb8fab1da51de0a4c8faa1c3679641a29dd4ad0"},{"sha":"2aeffb0ecae7c89a113110fa826f2634bd26fe2c","author":{"email":"c1bb62226a2370f7b652b9b81a8f686f36776a42@gmail.com","name":"Nuno Sousa"},"message":"Improve scope support in grant middleware","distinct":true,"url":"https://api.github.com/repos/ubilogix/node-oauth2-server/commits/2aeffb0ecae7c89a113110fa826f2634bd26fe2c"},{"sha":"97e17cb81d6f88492c8983890021362da6df70a3","author":{"email":"c1bb62226a2370f7b652b9b81a8f686f36776a42@gmail.com","name":"Nuno Sousa"},"message":"Improve scope middleware and add tests","distinct":true,"url":"https://api.github.com/repos/ubilogix/node-oauth2-server/commits/97e17cb81d6f88492c8983890021362da6df70a3"},{"sha":"28b55aca7a621f25d9ada7107f7a843ffd38e4ba","author":{"email":"3318dc5ce3e4fb7c28a0b841b6801c884e1d0896@ubilogix.com","name":"Lars Fredrik Karlström"},"message":"Merge branch 'seegno-forks-feature-scope' into feature-scope","distinct":true,"url":"https://api.github.com/repos/ubilogix/node-oauth2-server/commits/28b55aca7a621f25d9ada7107f7a843ffd38e4ba"},{"sha":"0726291853329b98d3d76322c7b6e788eae3356a","author":{"email":"3318dc5ce3e4fb7c28a0b841b6801c884e1d0896@ubilogix.com","name":"Lars Fredrik Karlström"},"message":"Scope improvements\n\nThe grant middleware now delegates scope string validation to the model,\nallowing for proper error handling in case a client performs an invalid\nrequest. Valid scope strings are thereafter passed to the model\nin the `saveAccessToken` call; `saveScope` has been removed.\n\nThe `authoriseScope` method has been modified to accept a mixed `invalid`\nargument, which should be falsey to indicate that the access token\npossesses the required scope, and truthy (boolean or string) if not.\nIf a string is provided, it is used as error description for the\n`invalid_scope` error. The error class has been extended with a default\n\"Invalid scope\" message for boolean true cases.","distinct":true,"url":"https://api.github.com/repos/ubilogix/node-oauth2-server/commits/0726291853329b98d3d76322c7b6e788eae3356a"},{"sha":"92d4ea762e0c6c5f882a4cc727826d3c05d9a054","author":{"email":"3318dc5ce3e4fb7c28a0b841b6801c884e1d0896@ubilogix.com","name":"Lars Fredrik Karlström"},"message":"Updated tests\n\nThe tests were updated for the modified scope behaviours.","distinct":true,"url":"https://api.github.com/repos/ubilogix/node-oauth2-server/commits/92d4ea762e0c6c5f882a4cc727826d3c05d9a054"}]}