Token implements Serializable - nice to have when creating web service.
This commit is contained in:
1 parent
83f17b0652
commit
f1ecabdb52
2 files changed
+9
-1
No files matched your search
@@ -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
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user