|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.gadgets.spec.OAuthService
public class OAuthService
Information about an OAuth service that a gadget wants to use. Instances are immutable.
| Nested Class Summary | |
|---|---|
static class |
OAuthService.EndPoint
Description of an OAuth request token or access token URL. |
static class |
OAuthService.Location
Location for OAuth parameters in requests to an OAuth request token, access token, or resource URL. |
static class |
OAuthService.Method
Method to use for requests to an OAuth request token or access token URL. |
| Constructor Summary | |
|---|---|
OAuthService(Element serviceElement,
Uri base)
|
|
| Method Summary | |
|---|---|
OAuthService.EndPoint |
getAccessUrl()
Represents /OAuth/Service/Access elements. |
Uri |
getAuthorizationUrl()
Represents /OAuth/Service/Authorization elements. |
String |
getName()
Represents /OAuth/Service@name |
OAuthService.EndPoint |
getRequestUrl()
Represents /OAuth/Service/Request elements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthService(Element serviceElement,
Uri base)
throws SpecParserException
SpecParserException| Method Detail |
|---|
public OAuthService.EndPoint getRequestUrl()
public OAuthService.EndPoint getAccessUrl()
public Uri getAuthorizationUrl()
public String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||