AuthBucket\OAuth2\GrantType\GrantTypeHandlerFactoryInterface::getGrantTypeHandler PHP Method

getGrantTypeHandler() public method

Gets a stored grant type handler.
public getGrantTypeHandler ( string $type = null ) : AuthBucket\OAuth2\GrantType\GrantTypeHandlerInterface
$type string Type of grant type handler, as refer to RFC6749
return AuthBucket\OAuth2\GrantType\GrantTypeHandlerInterface The stored grant type handler
    public function getGrantTypeHandler($type = null);
GrantTypeHandlerFactoryInterface