Package | Description |
---|---|
io.oauth.server | |
io.oauth.server.api |
Modifier and Type | Method and Description |
---|---|
static Object |
ApiInvoker.deserialize(String json,
String containerType,
Class cls) |
static String |
ApiInvoker.deserializeError(String json) |
String |
ApiInvoker.invokeAPI(String host,
String path,
String method,
Map<String,String> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,String> formParams,
String contentType) |
static String |
ApiInvoker.serialize(Object obj) |
Modifier and Type | Method and Description |
---|---|
AuthCallback |
AuthorizationApi.authorize(String clientId,
String decision,
String userId,
String scope,
String redirectUri,
String state,
String responseType)
Authorize a user
This endpoint is called when the user allow or deny permission \nin the decision page\n
|
TokenInfos |
AuthorizationApi.check(String accessToken)
Check the validity of an access token and give back his permission, \nclient_id and user_id\n
|
Client |
ClientApi.createClient(String name,
String description,
String redirectUri,
String userId)
Create a client
|
void |
ClientApi.deleteClient(String clientId)
Remove a client by its client_id
|
List<Client> |
ClientApi.getAllClients()
Retrieves all clients
|
List<Client> |
ClientApi.getAllClientsByUser(String userId)
Retrieves all clients filtered by a given user_id
|
Client |
ClientApi.getClient(String clientId)
Retrieves a client by its client_id
|
Client |
ClientApi.resetClientKeys(String clientId)
Regenerate the API key's client
|
TokenSet |
AuthorizationApi.token(String clientId,
String clientSecret,
String grantType,
String scope,
String code,
String refreshToken)
Access token retrieval (with code) or refresh (with refresh token)
|
Client |
ClientApi.updateClient(String id,
String name,
String description,
String redirectUri,
String userId)
Update a client
|
Copyright © 2015. All rights reserved.