public class MoxtraClient.OAuth2Authorizer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
redirectLink |
| Constructor and Description |
|---|
MoxtraClient.OAuth2Authorizer() |
| Modifier and Type | Method and Description |
|---|---|
String |
authorizationLink()
Create authorization link using default redirect link handled by
OAuthCodeAuthenticator REST
service. |
String |
authorizationLink(String redirectLink)
Create authorization link using given redirect link.
|
MoxtraClient |
authorize(String code) |
String |
getRedirectLink() |
MoxtraClient |
refresh() |
protected String redirectLink
public String authorizationLink() throws org.apache.oltu.oauth2.common.exception.OAuthSystemException
OAuthCodeAuthenticator REST
service.Stringorg.apache.oltu.oauth2.common.exception.OAuthSystemExceptionOAuthCodeAuthenticator}public String authorizationLink(String redirectLink) throws org.apache.oltu.oauth2.common.exception.OAuthSystemException
public MoxtraClient authorize(String code) throws org.apache.oltu.oauth2.common.exception.OAuthSystemException, org.apache.oltu.oauth2.common.exception.OAuthProblemException
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionpublic MoxtraClient refresh() throws org.apache.oltu.oauth2.common.exception.OAuthSystemException, org.apache.oltu.oauth2.common.exception.OAuthProblemException
org.apache.oltu.oauth2.common.exception.OAuthSystemExceptionorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionpublic String getRedirectLink()
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.