public interface WhitelistedSiteRepository
Modifier and Type | Method and Description |
---|---|
Collection<WhitelistedSite> |
getAll()
Return a collection of all WhitelistedSite managed by this repository
|
WhitelistedSite |
getByClientId(String clientId)
Find a WhitelistedSite by its associated ClientDetails reference
|
Collection<WhitelistedSite> |
getByCreator(String creatorId)
Return a collection of the WhitelistedSites created by a given user
|
WhitelistedSite |
getById(Long id)
Returns the WhitelistedSite for the given id
|
void |
remove(WhitelistedSite whitelistedSite)
Removes the given IdToken from the repository
|
WhitelistedSite |
save(WhitelistedSite whiteListedSite)
Persists a WhitelistedSite
|
WhitelistedSite |
update(WhitelistedSite oldWhitelistedSite,
WhitelistedSite whitelistedSite)
Persist changes to a whitelistedSite.
|
Collection<WhitelistedSite> getAll()
WhitelistedSite getById(Long id)
id
- id the id of the WhitelistedSiteWhitelistedSite getByClientId(String clientId)
client
- the Relying PartyCollection<WhitelistedSite> getByCreator(String creatorId)
creator
- the id of the admin who may have created some WhitelistedSitesvoid remove(WhitelistedSite whitelistedSite)
whitelistedSite
- the WhitelistedSite object to removeWhitelistedSite save(WhitelistedSite whiteListedSite)
whitelistedSite
- WhitelistedSite update(WhitelistedSite oldWhitelistedSite, WhitelistedSite whitelistedSite)
oldWhitelistedSite
- whitelistedSite
- Copyright © 2022. All rights reserved.