package ru.yandex.wmtools.common.authorization;

import ru.yandex.common.framework.core.ServRequest;
import ru.yandex.common.framework.core.ServResponse;
import ru.yandex.wmtools.common.error.InternalException;
import ru.yandex.wmtools.common.error.UserException;

/**
 * @author ailyin
 */
public interface AuthorizationScheme {
    long getUserId(ServRequest req, ServResponse res) throws UserException, InternalException;
}
