Token implements Serializable - nice to have when creating web service.

This commit is contained in:
klakegg authored and Pablo Fernandez committed 2010-11-23 17:29:24 -03:00
1 parent 83f17b0652
commit f1ecabdb52
2 files changed
+9 -1

No files matched your search

+4
View File
@@ -13,3 +13,7 @@
* FIX: Fixed Evernote Api (uses GET for request and access tokens)
* REFACTOR: URLEncoding stuff. LinkedIn specific decoder is no longer needed
* FEATURE: Added Google example
[1.1.0]
* FEATURE: Token made Serializable
+5 -1
View File
@@ -1,12 +1,16 @@
package org.scribe.model;
import java.io.Serializable;
/**
* Represents an OAuth token (either request or access token) and its secret
*
* @author Pablo Fernandez
*/
public class Token
public class Token implements Serializable
{
private static final long serialVersionUID = 715000866082812683L;
private final String token;
private final String secret;