Class AuthorizationCodeRegistration

java.lang.Object
org.apache.cxf.rs.security.oauth2.grants.code.AuthorizationCodeRegistration

public class AuthorizationCodeRegistration extends Object
Captures the information associated with the code grant registration request.
See Also:
  • Constructor Details

    • AuthorizationCodeRegistration

      public AuthorizationCodeRegistration()
  • Method Details

    • setClient

      public void setClient(Client client)
      Sets the Client reference
      Parameters:
      client - the client
    • getClient

      public Client getClient()
      Gets Client reference
      Returns:
      the client
    • setRedirectUri

      public void setRedirectUri(String redirectUri)
      Sets the redirect URI
      Parameters:
      redirectUri - the redirect URI
    • getRedirectUri

      public String getRedirectUri()
      Gets the redirect URI
      Returns:
      the redirect URI
    • setRequestedScope

      public void setRequestedScope(List<String> requestedScope)
      Sets the scopes request by the client
      Parameters:
      requestedScope - the requested scopes
    • getRequestedScope

      public List<String> getRequestedScope()
      Gets the scopes request by the client
      Returns:
      the requested scopes
    • setApprovedScope

      public void setApprovedScope(List<String> approvedScope)
      Sets the scopes explicitly approved by the end user. If this list is empty then the end user had no way to down-scope.
      Parameters:
      approvedScope - the approved scopes
    • getApprovedScope

      public List<String> getApprovedScope()
      Gets the scopes explicitly approved by the end user
      Returns:
      the approved scopes
    • setSubject

      public void setSubject(UserSubject subject)
      Sets the user subject representing the end user
      Parameters:
      subject - the subject
    • getSubject

      public UserSubject getSubject()
      Gets the user subject representing the end user
      Returns:
      the subject
    • getAudience

      public String getAudience()
    • setAudience

      public void setAudience(String audience)
    • getClientCodeChallenge

      public String getClientCodeChallenge()
    • setClientCodeChallenge

      public void setClientCodeChallenge(String clientCodeChallenge)
    • getNonce

      public String getNonce()
    • setNonce

      public void setNonce(String nonce)
    • isPreauthorizedTokenAvailable

      public boolean isPreauthorizedTokenAvailable()
    • setPreauthorizedTokenAvailable

      public void setPreauthorizedTokenAvailable(boolean preauthorizedTokenAvailable)
    • getExtraProperties

      public Map<String,String> getExtraProperties()
    • setExtraProperties

      public void setExtraProperties(Map<String,String> extraProperties)
    • getResponseType

      public String getResponseType()
    • setResponseType

      public void setResponseType(String responseType)
    • getClientCodeChallengeMethod

      public String getClientCodeChallengeMethod()
    • setClientCodeChallengeMethod

      public void setClientCodeChallengeMethod(String clientCodeChallengeMethod)