package org.springframework.security.oauth2.provider.refresh;

import java.util.Set;

/**
 * Holder for refresh token details.
 *
 * @author Ryan Heaton
 */
public class RefreshTokenDetails {

	private final String refreshToken;
	private final Set<String> scope;

	public RefreshTokenDetails(String refreshToken, Set<String> scope) {
		this.refreshToken = refreshToken;
		this.scope = scope;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public Set<String> getScope() {
		return scope;
	}
}

@@ -56,16 +56,45 @@
 fresh;%0A%0A
+import java.io.Serializable;%0A
 import j
@@ -151,16 +151,17 @@
 ails.%0A *
+ 
 %0A * @aut
@@ -176,16 +176,37 @@
  Heaton%0A
+ * @author Dave Syer%0A
  */%0Apubl
@@ -234,16 +234,40 @@
 Details 
+implements Serializable 
 %7B%0A%0A%09priv

Add Serializable to RefreshTokenDetails