Class OAuth20AuthorizationRequest.OAuth20AuthorizationRequestBuilder<C extends OAuth20AuthorizationRequest,B extends OAuth20AuthorizationRequest.OAuth20AuthorizationRequestBuilder<C,B>>

java.lang.Object
org.apereo.cas.support.oauth.web.response.OAuth20AuthorizationRequest.OAuth20AuthorizationRequestBuilder<C,B>
Enclosing class:
OAuth20AuthorizationRequest

public abstract static class OAuth20AuthorizationRequest.OAuth20AuthorizationRequestBuilder<C extends OAuth20AuthorizationRequest,B extends OAuth20AuthorizationRequest.OAuth20AuthorizationRequestBuilder<C,B>> extends Object
  • Constructor Details

    • OAuth20AuthorizationRequestBuilder

      public OAuth20AuthorizationRequestBuilder()
  • Method Details

    • responseType

      public B responseType(String responseType)
      Returns:
      this.
    • grantType

      public B grantType(String grantType)
      Returns:
      this.
    • url

      public B url(String url)
      Returns:
      this.
    • clientId

      public B clientId(String clientId)
      Returns:
      this.
    • accessTokenRequest

      public B accessTokenRequest(AccessTokenRequestContext accessTokenRequest)
      Returns:
      this.
    • singleSignOnSessionRequired

      public B singleSignOnSessionRequired(boolean singleSignOnSessionRequired)
      Is single sign on session required for this request? This generally forces the presence of a ticket-granting ticket to be found before this builder can operate further. Some builders may be able to work without a session initially, such as those that operate on PAR requests.
      Returns:
      this.
    • build

      public abstract C build()
    • toString

      public String toString()
      Overrides:
      toString in class Object