public class AuthleteApiImpl extends Object implements com.authlete.common.api.AuthleteApi
AuthleteApi using JAX-RS 2.0 client API.| Constructor and Description |
|---|
AuthleteApiImpl(com.authlete.common.conf.AuthleteConfiguration configuration)
The constructor with an instance of
AuthleteConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
com.authlete.common.dto.AuthorizationResponse |
authorization(com.authlete.common.dto.AuthorizationRequest request)
Call
/api/auth/authorization API. |
com.authlete.common.dto.AuthorizationFailResponse |
authorizationFail(com.authlete.common.dto.AuthorizationFailRequest request)
Call
/api/auth/authorization/fail API. |
com.authlete.common.dto.AuthorizationIssueResponse |
authorizationIssue(com.authlete.common.dto.AuthorizationIssueRequest request)
Call
/api/auth/authorization/issue API. |
com.authlete.common.dto.Client |
createClient(com.authlete.common.dto.Client client)
Call
/api/client/create API. |
com.authlete.common.dto.Service |
createServie(com.authlete.common.dto.Service service)
Call
/api/service/create API. |
void |
deleteClient(long clientId)
Call
/api/client/delete/{clientId} API. |
void |
deleteService(long apiKey)
Call
/api/service/delete/{serviceApiKey} API. |
com.authlete.common.dto.Client |
getClient(long clientId)
Call
/api/client/get/{clientId} API. |
com.authlete.common.dto.ClientListResponse |
getClientList()
Call
/api/client/get/list API. |
com.authlete.common.dto.ClientListResponse |
getClientList(int start,
int end) |
com.authlete.common.dto.ClientListResponse |
getClientList(String developer) |
com.authlete.common.dto.ClientListResponse |
getClientList(String developer,
int start,
int end) |
com.authlete.common.dto.Service |
getService(long apiKey)
Call
/api/service/get/{serviceApiKey} API. |
String |
getServiceConfiguration()
Call
/api/service/configuration API |
String |
getServiceConfiguration(boolean pretty)
Call
/api/service/configuration API |
String |
getServiceJwks()
Call
/api/service/jwks/get API |
String |
getServiceJwks(boolean pretty,
boolean includePrivateKeys)
Call
/api/service/jwks/get API |
com.authlete.common.dto.ServiceListResponse |
getServiceList()
Call
/api/service/get/list API. |
com.authlete.common.dto.ServiceListResponse |
getServiceList(int start,
int end) |
com.authlete.common.dto.IntrospectionResponse |
introspection(com.authlete.common.dto.IntrospectionRequest request)
Call
/api/auth/introspection API. |
com.authlete.common.dto.RevocationResponse |
revocation(com.authlete.common.dto.RevocationRequest request)
Call
/api/auth/revocation API. |
com.authlete.common.dto.TokenResponse |
token(com.authlete.common.dto.TokenRequest request)
Call
/api/auth/token API. |
com.authlete.common.dto.TokenCreateResponse |
tokenCreate(com.authlete.common.dto.TokenCreateRequest request)
Call
/api/auth/token/create API. |
com.authlete.common.dto.TokenFailResponse |
tokenFail(com.authlete.common.dto.TokenFailRequest request)
Call
/api/auth/token/fail API. |
com.authlete.common.dto.TokenIssueResponse |
tokenIssue(com.authlete.common.dto.TokenIssueRequest request)
Call
/api/auth/token/issue API. |
com.authlete.common.dto.Client |
updateClient(com.authlete.common.dto.Client client)
Call
/api/client/update/{clientId} API. |
com.authlete.common.dto.Service |
updateService(com.authlete.common.dto.Service service)
Call
/api/service/update/{serviceApiKey} API. |
com.authlete.common.dto.UserInfoResponse |
userinfo(com.authlete.common.dto.UserInfoRequest request)
Call
/api/auth/userinfo API. |
com.authlete.common.dto.UserInfoIssueResponse |
userinfoIssue(com.authlete.common.dto.UserInfoIssueRequest request)
Call
/api/auth/userinfo/issue API. |
public AuthleteApiImpl(com.authlete.common.conf.AuthleteConfiguration configuration)
AuthleteConfiguration.
The existence of a constructor of this type is a required by
AuthleteApiFactory.
configuration - An instance of AuthleteConfiguration.public com.authlete.common.dto.AuthorizationResponse authorization(com.authlete.common.dto.AuthorizationRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/authorization API.authorization in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.AuthorizationFailResponse authorizationFail(com.authlete.common.dto.AuthorizationFailRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/authorization/fail API.authorizationFail in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.AuthorizationIssueResponse authorizationIssue(com.authlete.common.dto.AuthorizationIssueRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/authorization/issue API.authorizationIssue in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.TokenResponse token(com.authlete.common.dto.TokenRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/token API.token in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.TokenCreateResponse tokenCreate(com.authlete.common.dto.TokenCreateRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/token/create API.tokenCreate in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.TokenFailResponse tokenFail(com.authlete.common.dto.TokenFailRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/token/fail API.tokenFail in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.TokenIssueResponse tokenIssue(com.authlete.common.dto.TokenIssueRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/token/issue API.tokenIssue in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.RevocationResponse revocation(com.authlete.common.dto.RevocationRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/revocation API.revocation in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.UserInfoResponse userinfo(com.authlete.common.dto.UserInfoRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/userinfo API.userinfo in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.UserInfoIssueResponse userinfoIssue(com.authlete.common.dto.UserInfoIssueRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/userinfo/issue API.userinfoIssue in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.IntrospectionResponse introspection(com.authlete.common.dto.IntrospectionRequest request)
throws com.authlete.common.api.AuthleteApiException
/api/auth/introspection API.introspection in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.Service createServie(com.authlete.common.dto.Service service)
throws com.authlete.common.api.AuthleteApiException
/api/service/create API.createServie in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic void deleteService(long apiKey)
throws com.authlete.common.api.AuthleteApiException
/api/service/delete/{serviceApiKey} API.deleteService in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.Service getService(long apiKey)
throws com.authlete.common.api.AuthleteApiException
/api/service/get/{serviceApiKey} API.getService in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.ServiceListResponse getServiceList()
throws com.authlete.common.api.AuthleteApiException
/api/service/get/list API.getServiceList in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.ServiceListResponse getServiceList(int start,
int end)
throws com.authlete.common.api.AuthleteApiException
getServiceList in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.Service updateService(com.authlete.common.dto.Service service)
throws com.authlete.common.api.AuthleteApiException
/api/service/update/{serviceApiKey} API.updateService in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic String getServiceJwks() throws com.authlete.common.api.AuthleteApiException
/api/service/jwks/get APIgetServiceJwks in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic String getServiceJwks(boolean pretty, boolean includePrivateKeys) throws com.authlete.common.api.AuthleteApiException
/api/service/jwks/get APIgetServiceJwks in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic String getServiceConfiguration() throws com.authlete.common.api.AuthleteApiException
/api/service/configuration APIgetServiceConfiguration in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic String getServiceConfiguration(boolean pretty) throws com.authlete.common.api.AuthleteApiException
/api/service/configuration APIgetServiceConfiguration in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.Client createClient(com.authlete.common.dto.Client client)
throws com.authlete.common.api.AuthleteApiException
/api/client/create API.createClient in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic void deleteClient(long clientId)
throws com.authlete.common.api.AuthleteApiException
/api/client/delete/{clientId} API.deleteClient in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.Client getClient(long clientId)
throws com.authlete.common.api.AuthleteApiException
/api/client/get/{clientId} API.getClient in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.ClientListResponse getClientList()
throws com.authlete.common.api.AuthleteApiException
/api/client/get/list API.getClientList in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.ClientListResponse getClientList(String developer) throws com.authlete.common.api.AuthleteApiException
getClientList in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.ClientListResponse getClientList(int start,
int end)
throws com.authlete.common.api.AuthleteApiException
getClientList in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.ClientListResponse getClientList(String developer, int start, int end) throws com.authlete.common.api.AuthleteApiException
getClientList in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionpublic com.authlete.common.dto.Client updateClient(com.authlete.common.dto.Client client)
throws com.authlete.common.api.AuthleteApiException
/api/client/update/{clientId} API.updateClient in interface com.authlete.common.api.AuthleteApicom.authlete.common.api.AuthleteApiExceptionCopyright © 2016. All rights reserved.