Test coverage for token generator.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Use the requests get method which uses both request and query.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Updated some comments in the scope validator.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Required mockery as a dev dependency.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Test coverage for scope validator.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Added get and has grant methods.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Changed the message of an exception to better clarify what has happened.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Authorization server tests.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>