public interface OAuthClientDetailsService
extends org.springframework.security.oauth2.provider.ClientDetailsService
| Modifier and Type | Method and Description |
|---|---|
OAuthClient |
addClient(OAuthClient client)
Register a new OAuth client.
|
List<OAuthClient> |
autocompleteClients(String title,
int limit)
Autocomplete OAuth clients by title.
|
OAuthClient |
getClient(String clientId)
Gets the client.
|
List<OAuthClient> |
listClientDetails()
List client details.
|
org.springframework.data.domain.Page<OAuthClient> |
listClientDetails(org.springframework.data.domain.Pageable pageable)
List client details.
|
OAuthClient |
removeClient(OAuthClient oauthClient)
Removes the client.
|
OAuthClient |
removeSecret(OAuthClient oauthClient)
Removes the Client secret.
|
String |
resetSecret(OAuthClient oauthClient)
Generates a new clientSecret.
|
OAuthClient |
updateClient(long id,
int version,
OAuthClient updates)
Update client.
|
List<OAuthClient> listClientDetails()
org.springframework.data.domain.Page<OAuthClient> listClientDetails(org.springframework.data.domain.Pageable pageable)
pageable - the pageableOAuthClient getClient(String clientId)
clientId - the client idOAuthClient addClient(OAuthClient client)
client - the clientOAuthClient updateClient(long id, int version, OAuthClient updates)
id - the idversion - the versionupdates - the updatesOAuthClient removeClient(OAuthClient oauthClient)
oauthClient - the oauth clientList<OAuthClient> autocompleteClients(String title, int limit)
title - the titlelimit - maximum number of resultsString resetSecret(OAuthClient oauthClient)
oauthClient - the client to regenerate secret forOAuthClient removeSecret(OAuthClient oauthClient)
oauthClient - the oauth clientCopyright © 2020 Global Crop Diversity Trust. All rights reserved.