public class OAuth2Service extends BaseOAuthService
BaseOAuthService.EndPoint, BaseOAuthService.Location, BaseOAuthService.Method| Constructor and Description |
|---|
OAuth2Service(Element serviceElement,
Uri base) |
| Modifier and Type | Method and Description |
|---|---|
BaseOAuthService.EndPoint |
getAuthorizationUrl()
Represents /OAuth2/Service/Authorization elements.
|
String |
getName()
Represents /OAuth/Service@name
|
String |
getScope()
Represents /OAuth2/Service@scope
|
BaseOAuthService.EndPoint |
getTokenUrl()
Represents /OAuth2/Service/Token elements.
|
public OAuth2Service(Element serviceElement, Uri base) throws SpecParserException
SpecParserExceptionpublic BaseOAuthService.EndPoint getAuthorizationUrl()
public BaseOAuthService.EndPoint getTokenUrl()
public String getScope()
public String getName()
getName in class BaseOAuthServiceCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.