package org.springframework.security.oauth2.client.token.grant.code;

import org.springframework.security.oauth2.client.token.grant.redirect.AbstractRedirectResourceDetails;

/**
 * @author Ryan Heaton
 * @author Dave Syer
 */
public class AuthorizationCodeResourceDetails extends AbstractRedirectResourceDetails {

	private String userAuthorizationUri;

	public AuthorizationCodeResourceDetails() {
		setGrantType("authorization_code");
	}

	/**
	 * The URI to which the user is to be redirected to authorize an access token.
	 * 
	 * @return The URI to which the user is to be redirected to authorize an access token.
	 */
	public String getUserAuthorizationUri() {
		return userAuthorizationUri;
	}

	/**
	 * The URI to which the user is to be redirected to authorize an access token.
	 * 
	 * @param userAuthorizationUri The URI to which the user is to be redirected to authorize an access token.
	 */
	public void setUserAuthorizationUri(String userAuthorizationUri) {
		this.userAuthorizationUri = userAuthorizationUri;
	}

}

@@ -313,47 +313,8 @@
  %7B%0A%0A
-%09private String userAuthorizationUri;%0A%0A
 %09pub
@@ -400,594 +400,6 @@
 %09%7D%0A%0A
-%09/**%0A%09 * The URI to which the user is to be redirected to authorize an access token.%0A%09 * %0A%09 * @return The URI to which the user is to be redirected to authorize an access token.%0A%09 */%0A%09public String getUserAuthorizationUri() %7B%0A%09%09return userAuthorizationUri;%0A%09%7D%0A%0A%09/**%0A%09 * The URI to which the user is to be redirected to authorize an access token.%0A%09 * %0A%09 * @param userAuthorizationUri The URI to which the user is to be redirected to authorize an access token.%0A%09 */%0A%09public void setUserAuthorizationUri(String userAuthorizationUri) %7B%0A%09%09this.userAuthorizationUri = userAuthorizationUri;%0A%09%7D%0A%0A
 %7D%0A

Remove redundant code in AuthorizationCodeResourceDetails