fkooman\RemoteStorage\RemoteStorageResourceServer::getResourceServer PHP Method

getResourceServer() public method

Retrieve a resource server based on resourceServerId.
public getResourceServer ( string $resourceServerId ) : fkooman\OAuth\ResourceServer | false
$resourceServerId string the resource server ID
return fkooman\OAuth\ResourceServer | false if the resource server exists it returns ResourceServer, otherwise false
    public function getResourceServer($resourceServerId)
    {
        // we do not really have a registration, as there is only one resource
        // server, the remoteStorage server...
        return new ResourceServer($resourceServerId, null, null);
    }
RemoteStorageResourceServer