Interface OAuth20RequestValidator

All Superinterfaces:
org.springframework.core.Ordered
All Known Subinterfaces:
OAuth20AuthorizationRequestValidator, OAuth20TokenRequestValidator

public interface OAuth20RequestValidator extends org.springframework.core.Ordered
Since:
5.2.0
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    supports(org.pac4j.core.context.WebContext context)
    Supports request?
    boolean
    validate(org.pac4j.core.context.WebContext context)
    Validate request.

    Methods inherited from interface org.springframework.core.Ordered

    getOrder
  • Method Details

    • validate

      boolean validate(org.pac4j.core.context.WebContext context) throws Throwable
      Validate request.
      Parameters:
      context - the context
      Returns:
      true /false
      Throws:
      Exception - the exception
      Throwable
    • supports

      boolean supports(org.pac4j.core.context.WebContext context) throws Throwable
      Supports request?
      Parameters:
      context - the context
      Returns:
      true /false
      Throws:
      Exception - the exception
      Throwable