Interface DynamicallyRegisteredClientDataAccessProvider
- All Superinterfaces:
DataAccessProvider
- Since:
- 2.1.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancanWrite()Gets whether this Data Access Provider is writeable.voidcreate(DynamicallyRegisteredClientAttributes attributes) Creates a new client entry.voidDeletes an existing client entry.getByClientId(String clientId) Find an existing client entry.voidupdate(DynamicallyRegisteredClientAttributes attributes) Updates an already existing client with the given attributes.Methods inherited from interface se.curity.identityserver.sdk.datasource.DataAccessProvider
isThreadSafe
-
Method Details
-
getByClientId
Find an existing client entry.- Parameters:
clientId- the ID of the client to find- Returns:
- the attributes of the client, if found;
nullotherwise
-
create
Creates a new client entry.- Parameters:
attributes- the attributes of the client to create
-
update
Updates an already existing client with the given attributes.It is an error if no client exists with the ID contained in the given attributes; a new client entry MUST NOT be created.
- Parameters:
attributes- the attributes ot the client to update- Since:
- 4.2.0
-
delete
Deletes an existing client entry.- Parameters:
clientId- the ID of the client to delete- Since:
- 4.2.0
-
canWrite
default boolean canWrite()Gets whether this Data Access Provider is writeable.- Returns:
trueif writeable;falseif read-only.
-