Use scope_id instead of the scope name
Set relationship to scope_id
Added ClientException
Moved GrantTypeInterface
Renamed functions, changed some doc terms
Default to 40 characters (as that is what the DB table columns are set to)
Anal style fix
Updated newAuthoriseRequest method
Updated issueAccessToken method
Updated getCurrentGrantType method
Renamed checkClientAuthoriseParams method to checkAuthoriseParams