public class OAuth2Client extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuth2Client.ClientType
Enumerated client types in the OAuth 2.0 specification.
|
static class |
OAuth2Client.Flow |
| Modifier and Type | Field and Description |
|---|---|
protected String |
iconUrl |
protected String |
id |
protected String |
redirectURI |
protected String |
secret |
protected String |
title |
protected OAuth2Client.ClientType |
type |
| Constructor and Description |
|---|
OAuth2Client() |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Client.Flow |
getFlow()
Gets the client's OAuth2 flow
|
String |
getIconUrl()
Gets the client's icon URL.
|
String |
getId()
Gets the client's ID.
|
String |
getRedirectURI()
Gets the client's redirect URI.
|
String |
getSecret()
Gets the client's secret.
|
String |
getTitle()
Gets the client's title.
|
OAuth2Client.ClientType |
getType()
Gets the client's type.
|
void |
setFlow(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(String iconUrl)
Sets the client's icon URL.
|
void |
setId(String id)
Sets the client's ID.
|
void |
setRedirectURI(String redirectUri)
Sets the client's redirect URI.
|
void |
setSecret(String secret)
Sets the client's secret.
|
void |
setTitle(String title)
Sets the client's title.
|
void |
setType(OAuth2Client.ClientType type)
Sets the client's type.
|
protected String id
protected String secret
protected String redirectURI
protected String title
protected String iconUrl
protected OAuth2Client.ClientType type
public String getId()
public void setId(String id)
id - represents the client's ID.public String getSecret()
public void setSecret(String secret)
secret - represents the client's secretpublic String getRedirectURI()
public void setRedirectURI(String redirectUri)
redirectUri - represents the client's redirect URIpublic String getTitle()
public void setTitle(String title)
title - represents the client's titlepublic String getIconUrl()
public void setIconUrl(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(String flow)
flow - public void setFlowEnum(OAuth2Client.Flow flow)
flow - public OAuth2Client.Flow getFlow()
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.