|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.social.core.oauth2.OAuth2Client
public class OAuth2Client
Represents an OAuth 2.0 client.
| Nested Class Summary | |
|---|---|
static class |
OAuth2Client.ClientType
Enumerated client types in the OAuth 2.0 specification. |
static class |
OAuth2Client.Flow
|
| Field Summary | |
|---|---|
protected java.lang.String |
iconUrl
|
protected java.lang.String |
id
|
protected java.lang.String |
redirectURI
|
protected java.lang.String |
secret
|
protected java.lang.String |
title
|
protected OAuth2Client.ClientType |
type
|
| Constructor Summary | |
|---|---|
OAuth2Client()
|
|
| Method Summary | |
|---|---|
OAuth2Client.Flow |
getFlow()
Gets the client's OAuth2 flow |
java.lang.String |
getIconUrl()
Gets the client's icon URL. |
java.lang.String |
getId()
Gets the client's ID. |
java.lang.String |
getRedirectURI()
Gets the client's redirect URI. |
java.lang.String |
getSecret()
Gets the client's secret. |
java.lang.String |
getTitle()
Gets the client's title. |
OAuth2Client.ClientType |
getType()
Gets the client's type. |
void |
setFlow(java.lang.String flow)
Sets the client's OAuth2 flow (via a String flow identifier) |
void |
setFlowEnum(OAuth2Client.Flow flow)
Sets the client's OAuth2 flow |
void |
setIconUrl(java.lang.String iconUrl)
Sets the client's icon URL. |
void |
setId(java.lang.String id)
Sets the client's ID. |
void |
setRedirectURI(java.lang.String redirectUri)
Sets the client's redirect URI. |
void |
setSecret(java.lang.String secret)
Sets the client's secret. |
void |
setTitle(java.lang.String title)
Sets the client's title. |
void |
setType(OAuth2Client.ClientType type)
Sets the client's type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String id
protected java.lang.String secret
protected java.lang.String redirectURI
protected java.lang.String title
protected java.lang.String iconUrl
protected OAuth2Client.ClientType type
| Constructor Detail |
|---|
public OAuth2Client()
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
id - represents the client's ID.public java.lang.String getSecret()
public void setSecret(java.lang.String secret)
secret - represents the client's secretpublic java.lang.String getRedirectURI()
public void setRedirectURI(java.lang.String redirectUri)
redirectUri - represents the client's redirect URIpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - represents the client's titlepublic java.lang.String getIconUrl()
public void setIconUrl(java.lang.String iconUrl)
iconUrl - represents the client's icon URLpublic OAuth2Client.ClientType getType()
public void setType(OAuth2Client.ClientType type)
clientType - represents the client's typepublic void setFlow(java.lang.String flow)
flow - public void setFlowEnum(OAuth2Client.Flow flow)
flow - public OAuth2Client.Flow getFlow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||