/*
* Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.wso2.carbon.identity.oauth2.model;
import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* A Bean class which is used to store the OAuth parameters available in a OAuth request in the Cache.
*/
public class OAuth2Parameters implements Serializable {
private static final long serialVersionUID = 2237345658556955974L;
private String applicationName;
private String redirectURI;
private Set<String> scopes;
private String state;
private String responseType;
private String clientId;
private String nonce;
private String display;
private String prompt;
private String id_token_hint;
private String login_hint;
private LinkedHashSet acrValues;
public String getApplicationName() {
return applicationName;
}
public void setApplicationName(String applicationName) {
this.applicationName = applicationName;
}
public String getRedirectURI() {
return redirectURI;
}
public void setRedirectURI(String redirectURI) {
this.redirectURI = redirectURI;
}
public Set<String> getScopes() {
return scopes;
}
public void setScopes(Set<String> scopes) {
this.scopes = scopes;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getResponseType() {
return responseType;
}
public void setResponseType(String responseType) {
this.responseType = responseType;
}
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
/**
* @return the nonce
*/
public String getNonce() {
return nonce;
}
/**
* @param nonce the nonce to set
*/
public void setNonce(String nonce) {
this.nonce = nonce;
}
/**
* @return the display
*/
public String getDisplay() {
return display;
}
/**
* @param display the display to set
*/
public void setDisplay(String display) {
this.display = display;
}
/**
* @return the prompt
*/
public String getPrompt() {
return prompt;
}
/**
* @param prompt the prompt to set
*/
public void setPrompt(String prompt) {
this.prompt = prompt;
}
/**
* @return the id_token_hint
*/
public String getIDTokenHint() {
return id_token_hint;
}
/**
* @param id_token_hint the id_token_hint to set
*/
public void setIDTokenHint(String id_token_hint) {
this.id_token_hint = id_token_hint;
}
/**
* @return the login_hint
*/
public String getLoginHint() {
return login_hint;
}
/**
* @param login_hint the login_hint to set
*/
public void setLoginHint(String login_hint) {
this.login_hint = login_hint;
}
public LinkedHashSet getACRValues() {
return acrValues;
}
public void setACRValues(LinkedHashSet acrValues) {
this.acrValues = acrValues;
}
}