|
Spring Social | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.social.connect.ConnectionData
public class ConnectionData
A data transfer object that allows the internal state of a Connection to be persisted and transferred between layers of an application.
Some fields may be null depending on the specific type of Connection.
For example, an OAuth2Connection has a null 'secret' field while an OAuth1Connection has null 'refreshToken' and 'expireTime' fields.
Connection.createData(),
Serialized Form| Constructor Summary | |
|---|---|
ConnectionData(java.lang.String providerId,
java.lang.String providerUserId,
java.lang.String displayName,
java.lang.String profileUrl,
java.lang.String imageUrl,
java.lang.String accessToken,
java.lang.String secret,
java.lang.String refreshToken,
java.lang.Long expireTime)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAccessToken()
The access token required to make authorized API calls. |
java.lang.String |
getDisplayName()
A display name for the connection. |
java.lang.Long |
getExpireTime()
The time the connection expires. |
java.lang.String |
getImageUrl()
An image visualizing the connection. |
java.lang.String |
getProfileUrl()
A link to the provider's user profile page. |
java.lang.String |
getProviderId()
The id of the provider the connection is associated with. |
java.lang.String |
getProviderUserId()
The id of the provider user this connection is connected to. |
java.lang.String |
getRefreshToken()
A token use to renew this connection. |
java.lang.String |
getSecret()
The secret token needed to make authorized API calls. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionData(java.lang.String providerId,
java.lang.String providerUserId,
java.lang.String displayName,
java.lang.String profileUrl,
java.lang.String imageUrl,
java.lang.String accessToken,
java.lang.String secret,
java.lang.String refreshToken,
java.lang.Long expireTime)
| Method Detail |
|---|
public java.lang.String getProviderId()
public java.lang.String getProviderUserId()
public java.lang.String getDisplayName()
public java.lang.String getProfileUrl()
public java.lang.String getImageUrl()
public java.lang.String getAccessToken()
public java.lang.String getSecret()
public java.lang.String getRefreshToken()
public java.lang.Long getExpireTime()
|
Spring Social | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||