Interface OAuth20CasClientRedirectActionBuilder

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OAuth20CasClientRedirectActionBuilder
Since:
5.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.pac4j.core.exception.http.RedirectionAction>
    build(org.pac4j.cas.client.CasClient casClient, org.pac4j.core.context.WebContext context)
    Build redirect action for the client dynamically and configure the CAS client accordingly based on the properties of the web context.
  • Method Details

    • build

      Optional<org.pac4j.core.exception.http.RedirectionAction> build(org.pac4j.cas.client.CasClient casClient, org.pac4j.core.context.WebContext context)
      Build redirect action for the client dynamically and configure the CAS client accordingly based on the properties of the web context.
      Parameters:
      casClient - the cas client config
      context - the context
      Returns:
      the redirect action