public class O365Token extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOGGER |
Constructor and Description |
---|
O365Token(String tenantId,
String clientId,
String redirectUri,
String password) |
O365Token(String tenantId,
String clientId,
String redirectUri,
String code,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
String |
getRefreshToken() |
String |
getUsername() |
void |
refreshToken() |
void |
setAccessToken(String accessToken) |
void |
setClientId(String clientId) |
void |
setJsonToken(org.codehaus.jettison.json.JSONObject jsonToken) |
void |
setRedirectUri(String redirectUri) |
void |
setRefreshToken(String refreshToken) |
public O365Token(String tenantId, String clientId, String redirectUri, String code, String password) throws IOException
IOException
public String getUsername()
public void setJsonToken(org.codehaus.jettison.json.JSONObject jsonToken) throws IOException
IOException
public void setClientId(String clientId)
public void setRedirectUri(String redirectUri)
public String getAccessToken() throws IOException
IOException
public void setAccessToken(String accessToken)
public void setRefreshToken(String refreshToken)
public String getRefreshToken()
public void refreshToken() throws IOException
IOException
Copyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.