Interface OAuth20ResponseModeFactory


public interface OAuth20ResponseModeFactory
Since:
7.0.0
  • Field Details

  • Method Details

    • isResponseModeTypeFormPostJwt

      static boolean isResponseModeTypeFormPostJwt(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, OAuth20ResponseModeTypes responseType)
      Is response mode type form post?
      Parameters:
      registeredService - the registered service
      responseType - the response type
      Returns:
      true/false
    • isResponseModeTypeFormPost

      static boolean isResponseModeTypeFormPost(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, OAuth20ResponseModeTypes responseType)
      Is response mode type form post?
      Parameters:
      registeredService - the registered service
      responseType - the response type
      Returns:
      true/false
    • isResponseModeTypeFragment

      static boolean isResponseModeTypeFragment(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, OAuth20ResponseModeTypes responseType)
      Is response mode type fragment?
      Parameters:
      registeredService - the registered service
      responseType - the response type
      Returns:
      true/false
    • isResponseModeTypeFragmentJwt

      static boolean isResponseModeTypeFragmentJwt(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, OAuth20ResponseModeTypes responseType)
      Is response mode type fragment jwt?
      Parameters:
      registeredService - the registered service
      responseType - the response type
      Returns:
      true/false
    • isResponseModeTypeQueryJwt

      static boolean isResponseModeTypeQueryJwt(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, OAuth20ResponseModeTypes responseType)
      Is response mode type query jwt?
      Parameters:
      registeredService - the registered service
      responseType - the response type
      Returns:
      true/false
    • registerBuilder

      Register builder for mode factory.
      Parameters:
      builder - the builder
      Returns:
      the o auth 20 response mode factory
    • getBuilder

      OAuth20ResponseModeBuilder getBuilder(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, OAuth20ResponseModeTypes type)
      Gets builder.
      Parameters:
      registeredService - the registered service
      type - the type
      Returns:
      the builder