public class GAuthTokenSecret extends Object
GAuthAuthorizeBinding
,
GAuthUpgradeBinding
Modifier and Type | Field and Description |
---|---|
static String |
COOKIE_NAME
Name of the request token secret cookie.
|
Constructor and Description |
---|
GAuthTokenSecret(String value)
Creates a new
GAuthTokenSecret |
Modifier and Type | Method and Description |
---|---|
static GAuthTokenSecret |
fromCookie(String cookies)
Create a
GAuthTokenSecret from a cookies string. |
String |
getValue()
Returns the request token secret.
|
String |
toCookie()
Creates a cookie from this
GAuthTokenSecret . |
public static final String COOKIE_NAME
public GAuthTokenSecret(String value)
GAuthTokenSecret
value
- request token secret.public String getValue()
public String toCookie()
GAuthTokenSecret
.public static GAuthTokenSecret fromCookie(String cookies)
GAuthTokenSecret
from a cookies string.cookies
- cookies string.GAuthTokenSecret
instance or null
if there's no cookie with name COOKIE_NAME
.Apache Camel