All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blade.oauth2.base.validator.OAuthValidator Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
/**
 */
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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy