public class OAuth2AuthzSession extends Object implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<OAuth2AuthzSession> |
CREATOR |
| Constructor and Description |
|---|
OAuth2AuthzSession() |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
String |
getAccessToken() |
String |
getAccountId()
AccountId represents the ID of the account type used to fetch sessions
for the type
|
String |
getAuthorizationCode() |
String |
getClientId() |
long |
getExpires_on() |
String |
getRefreshToken() |
int |
hashCode() |
void |
setAccessToken(String accessToken) |
void |
setAccountId(String accountId)
AccountId represents the ID of the account type used to fetch sessions
for the type
|
void |
setAuthorizationCode(String authorizationCode) |
void |
setClientId(String clientId) |
void |
setExpires_on(long expires_on) |
void |
setRefreshToken(String refreshToken) |
boolean |
tokenIsNotExpired() |
String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<OAuth2AuthzSession> CREATOR
public String getClientId()
public void setClientId(String clientId)
public String getAccessToken()
public void setAccessToken(String accessToken)
public String getAuthorizationCode()
public void setAuthorizationCode(String authorizationCode)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public long getExpires_on()
public void setExpires_on(long expires_on)
public String getAccountId()
public void setAccountId(String accountId)
accountId - an accountIdpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic boolean tokenIsNotExpired()
Copyright © 2015 JBoss by Red Hat. All rights reserved.