| Package | Description |
|---|---|
| com.authlete.common.api |
The definition of Authlete API (
AuthleteApi) and the factory class (AuthleteApiFactory). |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationResponse |
AuthleteApi.authorization(AuthorizationRequest request)
Call Authlete's
/auth/authorization API. |
AuthorizationFailResponse |
AuthleteApi.authorizationFail(AuthorizationFailRequest request)
Call Authlete's
/auth/authorization/fail API. |
AuthorizationIssueResponse |
AuthleteApi.authorizationIssue(AuthorizationIssueRequest request)
Call Authlete's
/auth/authorization/issue API. |
Client |
AuthleteApi.createClient(Client client)
Create a client (= call Authlete's
/client/create API). |
Service |
AuthleteApi.createServie(Service service)
Create a service (= call Authlete's
/service/create API). |
void |
AuthleteApi.deleteClient(long clientId)
Delete a client (= call Authlete's
/client/delete/{clientId} API). |
void |
AuthleteApi.deleteClientAuthorization(long clientId,
String subject)
Delete all existing access tokens issued to the client application
by the end-user.
|
void |
AuthleteApi.deleteRequestableScopes(long clientId)
Clear the requestable scopes assigned to a client (= call Authlete's
/client/extension/requestable_scopes/delete/{clientId} API). |
void |
AuthleteApi.deleteService(long apiKey)
Delete a service (= call Authlete's
/service/delete/{apiKey} API). |
Client |
AuthleteApi.getClient(long clientId)
Get a client (= call Authlete's
/client/get/{clientId} API). |
AuthorizedClientListResponse |
AuthleteApi.getClientAuthorizationList(ClientAuthorizationGetListRequest request)
Get a list of client applications authorized by the end-user.
|
ClientListResponse |
AuthleteApi.getClientList()
Get the list of client applications that belong to the service
(= call Authlete's
/client/get/list API). |
ClientListResponse |
AuthleteApi.getClientList(int start,
int end)
Get the list of client applications that belong to the service
(= call Authlete's
/client/get/list API with start and end parameters). |
ClientListResponse |
AuthleteApi.getClientList(String developer)
Get the list of client applications that belong to the developer
(= call Authlete's
/client/get/list API with developer parameter). |
ClientListResponse |
AuthleteApi.getClientList(String developer,
int start,
int end)
Get the list of client applications
(= call Authlete's
/client/get/list API with developer, start and end parameters). |
String[] |
AuthleteApi.getRequestableScopes(long clientId)
Get the requestable scopes assigned to a client (= call Authlete's
/client/extension/requestable_scopes/get/{clientId} API). |
Service |
AuthleteApi.getService(long apiKey)
Get a service (= call Authlete's
/service/get/{apiKey} API). |
String |
AuthleteApi.getServiceConfiguration()
Get the configuration of the service in JSON format that complies with
OpenID Connect Discovery 1.0.
|
String |
AuthleteApi.getServiceConfiguration(boolean pretty)
Get the configuration of the service in JSON format that complies with
OpenID Connect Discovery 1.0.
|
String |
AuthleteApi.getServiceJwks()
Get the JWK Set of a service.
|
String |
AuthleteApi.getServiceJwks(boolean pretty,
boolean includePrivateKeys)
Get the JWK Set of a service.
|
ServiceListResponse |
AuthleteApi.getServiceList()
Get the list of services that belong to the service owner
(= call Authlete's
/service/get/list API). |
ServiceListResponse |
AuthleteApi.getServiceList(int start,
int end)
Get the list of services that belong to the service owner
(= call Authlete's
/service/get/list API with start and end parameters). |
IntrospectionResponse |
AuthleteApi.introspection(IntrospectionRequest request)
Call Authlete's
/auth/introspection API. |
RevocationResponse |
AuthleteApi.revocation(RevocationRequest request)
Call Authlete's
/auth/revocation API. |
String[] |
AuthleteApi.setRequestableScopes(long clientId,
String[] scopes)
Set the requestable scopes assigned to a client (= call Authlete's
/client/extension/requestable_scopes/update/{clientId} API). |
StandardIntrospectionResponse |
AuthleteApi.standardIntrospection(StandardIntrospectionRequest request)
Call Authlete's
/auth/introspection/standard API. |
TokenResponse |
AuthleteApi.token(TokenRequest request)
Call Authlete's
/auth/token API. |
TokenCreateResponse |
AuthleteApi.tokenCreate(TokenCreateRequest request)
Call Authlete's
/auth/token/create API. |
TokenFailResponse |
AuthleteApi.tokenFail(TokenFailRequest request)
Call Authlete's
/auth/token/fail API. |
TokenIssueResponse |
AuthleteApi.tokenIssue(TokenIssueRequest request)
Call Authlete's
/auth/token/issue API. |
TokenUpdateResponse |
AuthleteApi.tokenUpdate(TokenUpdateRequest request)
Call Authlete's
/auth/token/update API. |
Client |
AuthleteApi.updateClient(Client client)
Update a client (= call Authlete's
/client/update/{clientId} API). |
void |
AuthleteApi.updateClientAuthorization(long clientId,
ClientAuthorizationUpdateRequest request)
Update attributes of all existing access tokens issued to the
client application by the end-user.
|
Service |
AuthleteApi.updateService(Service service)
Update a service (= call Authlete's
/service/update/{apiKey} API). |
UserInfoResponse |
AuthleteApi.userinfo(UserInfoRequest request)
Call Authlete's
/auth/userinfo API. |
UserInfoIssueResponse |
AuthleteApi.userinfoIssue(UserInfoIssueRequest request)
Call Authlete's
/auth/userinfo/issue API. |
Copyright © 2017. All rights reserved.