Package io.gravitee.am.service
Interface ScopeService
- All Known Implementing Classes:
ScopeServiceImpl
public interface ScopeService
- Author:
- David BRASSELY (david.brassely at graviteesource.com), Titouan COMPIEGNE (titouan.compiegne at graviteesource.com), Alexandre FARIA (contact at alexandrefaria.net), GraviteeSource Team
-
Method Summary
Modifier and TypeMethodDescriptiondefault io.reactivex.rxjava3.core.Single<Scope>io.reactivex.rxjava3.core.Single<Scope>io.reactivex.rxjava3.core.Single<Scope>create(String domain, NewSystemScope scope) default io.reactivex.rxjava3.core.Completableio.reactivex.rxjava3.core.CompletablefindByDomain(String domain, int page, int size) io.reactivex.rxjava3.core.Maybe<Scope>findByDomainAndKey(String domain, String scopeKey) findByDomainAndKeys(String domain, List<String> scopeKeys) io.reactivex.rxjava3.core.Maybe<Scope>default io.reactivex.rxjava3.core.Single<Scope>patch(String domain, String id, PatchScope patchScope) io.reactivex.rxjava3.core.Single<Scope>patch(String domain, String id, PatchScope patchScope, User principal) default io.reactivex.rxjava3.core.Single<Scope>update(String domain, String id, UpdateScope updateScope) io.reactivex.rxjava3.core.Single<Scope>update(String domain, String id, UpdateScope updateScope, User principal) io.reactivex.rxjava3.core.Single<Scope>update(String domain, String id, UpdateSystemScope updateScope) io.reactivex.rxjava3.core.Single<Boolean>validateScope(String domain, List<String> scopes) Throw InvalidClientMetadataException if null or empty, or contains unknown scope.
-
Method Details
-
findById
-
create
-
create
-
findByDomain
-
findByDomainAndKey
-
findByDomainAndKeys
-
patch
io.reactivex.rxjava3.core.Single<Scope> patch(String domain, String id, PatchScope patchScope, User principal) -
update
io.reactivex.rxjava3.core.Single<Scope> update(String domain, String id, UpdateScope updateScope, User principal) -
update
io.reactivex.rxjava3.core.Single<Scope> update(String domain, String id, UpdateSystemScope updateScope) -
delete
-
search
-
validateScope
Throw InvalidClientMetadataException if null or empty, or contains unknown scope.- Parameters:
scopes- Array of scope to validate.
-
create
-
patch
default io.reactivex.rxjava3.core.Single<Scope> patch(String domain, String id, PatchScope patchScope) -
update
default io.reactivex.rxjava3.core.Single<Scope> update(String domain, String id, UpdateScope updateScope) -
delete
-