apps/files_external/lib/Lib/Auth/AuthMechanism.php
/**
	 * Check if parameters are satisfied in a StorageConfig
	 *
	 * @param StorageConfig $storage
	 * @return bool
	 */
Check if parameters are satisfied in a StorageConfig
@param StorageConfig $storage
@return bool
Check if parameters are satisfied in a StorageConfig @param StorageConfig $storage @return bool
public function validateStorage(StorageConfig $storage) {
		$supportedSchemes = $storage->getBackend()->getAuthSchemes();
		if (!isset($supportedSchemes[$this->getScheme()])) {
			return false;
		}
		return $this->validateStorageDefinition($storage);
	}
public function validateStorage ( StorageConfig $ storage ) { $ supportedSchemes = $ storage -> getBackend ( ) -> getAuthSchemes ( ) ; if ( ! isset ( $ supportedSchemes [ $ this -> getScheme ( ) ] ) ) { return false ; } return $ this -> validateStorageDefinition ( $ storage ) ; }
Check if parameters are satisfied in a StorageConfig
 @param StorageConfig $storage
 @return bool
Check if parameters are satisfied in a StorageConfig @param StorageConfig $storage @return bool
// does the backend actually support this scheme