Code

Rating   Name Duplication Size Complexity Changes Bugs Features
C AuthorizationServer::requestAccessToken() 0 22 7 2 1 0
B GrantType\RefreshTokenGrantType::grant() 0 19 5 3 0 1
B AuthorizationServerConfigurationBuilder::build() 0 16 2 1 1 0
B AuthorizationServer::buildAccessToken() 0 18 2 2 0 1
B AuthorizationServer::buildRefreshToken() 0 17 2 3 0 1
A ClientCredentialsGrantType::grant() 0 11 3 1 0 1
A ClientCredentialsGrantType::getRequiredInputData() 0 4 1 1 0 1
A OAuth2\AccessToken::__construct() 0 7 1 3 1 0
A AuthorizationServer::checkIfTheProvidedClientIsValid() 0 4 1 1 0 0
A AccessTokenNotFound::__construct() 0 4 1 1 0 0
A UnableToAddGrantType::aGrantTypeExtensionIsAlreadyRegisteredForThisIdentifier() 0 6 1 1 0 0
A Bgy\OAuth2\Client::__construct() 0 5 1 1 0 0
A RefreshTokenNotFound::__construct() 0 4 1 1 0 0
A AuthorizationServer::__construct() 0 11 1 2 1 0
A AuthorizationServerConfigurationBuilder::alwaysRequireAClient() 0 3 1 2 1 0