mitreid-connect
公開メンバ関数 | 静的公開変数類 | 全メンバ一覧
org.mitre.oauth2.service.SystemScopeService インタフェース
org.mitre.oauth2.service.SystemScopeService の継承関係図
Inheritance graph
org.mitre.oauth2.service.SystemScopeService 連携図
Collaboration graph

公開メンバ関数

Set< SystemScopegetAll ()
 
Set< SystemScopegetDefaults ()
 
Set< SystemScopegetReserved ()
 
Set< SystemScopegetRestricted ()
 
Set< SystemScopegetUnrestricted ()
 
SystemScope getById (Long id)
 
SystemScope getByValue (String value)
 
void remove (SystemScope scope)
 
SystemScope save (SystemScope scope)
 
Set< SystemScopefromStrings (Set< String > scope)
 
Set< String > toStrings (Set< SystemScope > scope)
 
boolean scopesMatch (Set< String > expected, Set< String > actual)
 
Set< SystemScoperemoveRestrictedAndReservedScopes (Set< SystemScope > scopes)
 
Set< SystemScoperemoveReservedScopes (Set< SystemScope > scopes)
 

静的公開変数類

static final String OFFLINE_ACCESS = "offline_access"
 
static final String OPENID_SCOPE = "openid"
 
static final String REGISTRATION_TOKEN_SCOPE = "registration-token"
 
static final String RESOURCE_TOKEN_SCOPE = "resource-token"
 
static final String UMA_PROTECTION_SCOPE = "uma_protection"
 
static final String UMA_AUTHORIZATION_SCOPE = "uma_authorization"
 
static final Set< SystemScopereservedScopes
 

詳解

著者
jricher

関数詳解

◆ fromStrings()

Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.fromStrings ( Set< String >  scope)

Translate the set of scope strings into a set of SystemScope objects.

引数
scope
戻り値

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

◆ getAll()

Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.getAll ( )

◆ getById()

SystemScope org.mitre.oauth2.service.SystemScopeService.getById ( Long  id)

◆ getByValue()

SystemScope org.mitre.oauth2.service.SystemScopeService.getByValue ( String  value)

◆ getDefaults()

Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.getDefaults ( )

Get all scopes that are defaulted to new clients on this system

戻り値

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

◆ getReserved()

Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.getReserved ( )

Get all the reserved system scopes. These can't be used by clients directly, but are instead tied to special system tokens like id tokens and registration access tokens.

戻り値

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

◆ getRestricted()

Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.getRestricted ( )

Get all the registered scopes that are restricted.

戻り値

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

◆ getUnrestricted()

Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.getUnrestricted ( )

Get all the registered scopes that aren't restricted.

戻り値

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

◆ remove()

void org.mitre.oauth2.service.SystemScopeService.remove ( SystemScope  scope)

◆ removeReservedScopes()

Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.removeReservedScopes ( Set< SystemScope scopes)

Remove any system-reserved scopes from the set and return the result.

引数
scopes
戻り値

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

◆ removeRestrictedAndReservedScopes()

Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.removeRestrictedAndReservedScopes ( Set< SystemScope scopes)

Remove any system-reserved or registered restricted scopes from the set and return the result.

引数
scopes
戻り値

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

◆ save()

SystemScope org.mitre.oauth2.service.SystemScopeService.save ( SystemScope  scope)

◆ scopesMatch()

boolean org.mitre.oauth2.service.SystemScopeService.scopesMatch ( Set< String >  expected,
Set< String >  actual 
)

Test whether the scopes in both sets are compatible. All scopes in "actual" must exist in "expected".

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

◆ toStrings()

Set<String> org.mitre.oauth2.service.SystemScopeService.toStrings ( Set< SystemScope scope)

Pluck the scope values from the set of SystemScope objects and return a list of strings

引数
scope
戻り値

org.mitre.oauth2.service.impl.DefaultSystemScopeServiceで実装されています。

メンバ詳解

◆ OFFLINE_ACCESS

final String org.mitre.oauth2.service.SystemScopeService.OFFLINE_ACCESS = "offline_access"
static

◆ OPENID_SCOPE

final String org.mitre.oauth2.service.SystemScopeService.OPENID_SCOPE = "openid"
static

◆ REGISTRATION_TOKEN_SCOPE

final String org.mitre.oauth2.service.SystemScopeService.REGISTRATION_TOKEN_SCOPE = "registration-token"
static

◆ reservedScopes

final Set<SystemScope> org.mitre.oauth2.service.SystemScopeService.reservedScopes
static
初期値:
=
Sets.newHashSet(
new SystemScope(REGISTRATION_TOKEN_SCOPE),
new SystemScope(RESOURCE_TOKEN_SCOPE)
)

◆ RESOURCE_TOKEN_SCOPE

final String org.mitre.oauth2.service.SystemScopeService.RESOURCE_TOKEN_SCOPE = "resource-token"
static

◆ UMA_AUTHORIZATION_SCOPE

final String org.mitre.oauth2.service.SystemScopeService.UMA_AUTHORIZATION_SCOPE = "uma_authorization"
static

◆ UMA_PROTECTION_SCOPE

final String org.mitre.oauth2.service.SystemScopeService.UMA_PROTECTION_SCOPE = "uma_protection"
static

このインタフェース詳解は次のファイルから抽出されました: