Throw exception when authorization code does not exist.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Return parameter values in an indexed array.

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

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

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Refactoring enities with a scopeable entity for those that can have attached scopes.

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