Package net.troja.eve.esi.api
Class SsoApi
- java.lang.Object
-
- net.troja.eve.esi.api.SsoApi
-
public class SsoApi extends Object
Api to retrieve the character information from the sso.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDATE_FORMAT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()CharacterInfogetCharacterInfo()Alias for net.troja.eve.esi.api.MetaApi.getVerify() Return CharacterInfo that have helper methods: CharacterInfo.getScopes() : SetCharacterInfo.getExpireOn() : OffsetDateTime voidrevokeAccessToken(String accessToken)voidrevokeRefreshToken(String refreshToken)voidsetApiClient(ApiClient apiClient)
-
-
-
Field Detail
-
DATE_FORMAT
protected static final String DATE_FORMAT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SsoApi
public SsoApi()
-
SsoApi
public SsoApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getCharacterInfo
public CharacterInfo getCharacterInfo() throws ApiException
Alias for net.troja.eve.esi.api.MetaApi.getVerify() Return CharacterInfo that have helper methods: CharacterInfo.getScopes() : SetCharacterInfo.getExpireOn() : OffsetDateTime - Returns:
- Throws:
ApiException
-
revokeRefreshToken
public void revokeRefreshToken(String refreshToken) throws ApiException
- Throws:
ApiException
-
revokeAccessToken
public void revokeAccessToken(String accessToken) throws ApiException
- Throws:
ApiException
-
-