com.blade.oauth2.base.validator.OAuthValidator Maven / Gradle / Ivy
/**
*/
package com.blade.oauth2.base.validator;
import com.blade.oauth2.exception.OAuthProblemException;
import com.blade.web.http.Request;
/**
*
* @author BruceZCQ [[email protected]]
* @version
* @param
*/
public interface OAuthValidator {
public void validateMethod(T request) throws OAuthProblemException;
public void validateContentType(T request) throws OAuthProblemException;
public void validateRequiredParameters(T request) throws OAuthProblemException;
public void validateOptionalParameters(T request) throws OAuthProblemException;
public void validateNotAllowedParameters(T request) throws OAuthProblemException;
public void validateClientAuthenticationCredentials(T request) throws OAuthProblemException;
public void performAllValidations(T request) throws OAuthProblemException;
}