Package | Description |
---|---|
org.mitre.oauth2.repository | |
org.mitre.oauth2.repository.impl | |
org.mitre.oauth2.service | |
org.mitre.oauth2.service.impl |
Modifier and Type | Method and Description |
---|---|
SystemScope |
SystemScopeRepository.getById(Long id) |
SystemScope |
SystemScopeRepository.getByValue(String value) |
SystemScope |
SystemScopeRepository.save(SystemScope scope) |
Modifier and Type | Method and Description |
---|---|
Set<SystemScope> |
SystemScopeRepository.getAll() |
Modifier and Type | Method and Description |
---|---|
void |
SystemScopeRepository.remove(SystemScope scope) |
SystemScope |
SystemScopeRepository.save(SystemScope scope) |
Modifier and Type | Method and Description |
---|---|
SystemScope |
JpaSystemScopeRepository.getById(Long id) |
SystemScope |
JpaSystemScopeRepository.getByValue(String value) |
SystemScope |
JpaSystemScopeRepository.save(SystemScope scope) |
Modifier and Type | Method and Description |
---|---|
Set<SystemScope> |
JpaSystemScopeRepository.getAll() |
Modifier and Type | Method and Description |
---|---|
void |
JpaSystemScopeRepository.remove(SystemScope scope) |
SystemScope |
JpaSystemScopeRepository.save(SystemScope scope) |
Modifier and Type | Field and Description |
---|---|
static Set<SystemScope> |
SystemScopeService.reservedScopes |
Modifier and Type | Method and Description |
---|---|
SystemScope |
SystemScopeService.getById(Long id) |
SystemScope |
SystemScopeService.getByValue(String value) |
SystemScope |
SystemScopeService.save(SystemScope scope) |
Modifier and Type | Method and Description |
---|---|
Set<SystemScope> |
SystemScopeService.fromStrings(Set<String> scope)
Translate the set of scope strings into a set of SystemScope objects.
|
Set<SystemScope> |
SystemScopeService.getAll() |
Set<SystemScope> |
SystemScopeService.getDefaults()
Get all scopes that are defaulted to new clients on this system
|
Set<SystemScope> |
SystemScopeService.getReserved()
Get all the reserved system scopes.
|
Set<SystemScope> |
SystemScopeService.getRestricted()
Get all the registered scopes that are restricted.
|
Set<SystemScope> |
SystemScopeService.getUnrestricted()
Get all the registered scopes that aren't restricted.
|
Set<SystemScope> |
SystemScopeService.removeReservedScopes(Set<SystemScope> scopes)
Remove any system-reserved scopes from the set and return the result.
|
Set<SystemScope> |
SystemScopeService.removeRestrictedAndReservedScopes(Set<SystemScope> scopes)
Remove any system-reserved or registered restricted scopes from the
set and return the result.
|
Modifier and Type | Method and Description |
---|---|
void |
SystemScopeService.remove(SystemScope scope) |
SystemScope |
SystemScopeService.save(SystemScope scope) |
Modifier and Type | Method and Description |
---|---|
Set<SystemScope> |
SystemScopeService.removeReservedScopes(Set<SystemScope> scopes)
Remove any system-reserved scopes from the set and return the result.
|
Set<SystemScope> |
SystemScopeService.removeRestrictedAndReservedScopes(Set<SystemScope> scopes)
Remove any system-reserved or registered restricted scopes from the
set and return the result.
|
Set<String> |
SystemScopeService.toStrings(Set<SystemScope> scope)
Pluck the scope values from the set of SystemScope objects and return a list of strings
|
Modifier and Type | Method and Description |
---|---|
SystemScope |
DefaultSystemScopeService.getById(Long id) |
SystemScope |
DefaultSystemScopeService.getByValue(String value) |
SystemScope |
DefaultSystemScopeService.save(SystemScope scope) |
Modifier and Type | Method and Description |
---|---|
Set<SystemScope> |
DefaultSystemScopeService.fromStrings(Set<String> scope) |
Set<SystemScope> |
DefaultSystemScopeService.getAll() |
Set<SystemScope> |
DefaultSystemScopeService.getDefaults() |
Set<SystemScope> |
DefaultSystemScopeService.getReserved() |
Set<SystemScope> |
DefaultSystemScopeService.getRestricted() |
Set<SystemScope> |
DefaultSystemScopeService.getUnrestricted() |
Set<SystemScope> |
DefaultSystemScopeService.removeReservedScopes(Set<SystemScope> scopes) |
Set<SystemScope> |
DefaultSystemScopeService.removeRestrictedAndReservedScopes(Set<SystemScope> scopes) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSystemScopeService.remove(SystemScope scope) |
SystemScope |
DefaultSystemScopeService.save(SystemScope scope) |
Modifier and Type | Method and Description |
---|---|
Set<SystemScope> |
DefaultSystemScopeService.removeReservedScopes(Set<SystemScope> scopes) |
Set<SystemScope> |
DefaultSystemScopeService.removeRestrictedAndReservedScopes(Set<SystemScope> scopes) |
Set<String> |
DefaultSystemScopeService.toStrings(Set<SystemScope> scope) |
Copyright © 2018. All rights reserved.