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

公開メンバ関数

Map< String, Object > assembleFrom (OAuth2AccessTokenEntity accessToken, UserInfo userInfo, Set< String > authScopes)
 
Map< String, Object > assembleFrom (OAuth2RefreshTokenEntity refreshToken, UserInfo userInfo, Set< String > authScopes)
 

公開変数類

String TOKEN_TYPE = "token_type"
 
String CLIENT_ID = "client_id"
 
String USER_ID = "user_id"
 
String SUB = "sub"
 
String EXP = "exp"
 
String EXPIRES_AT = "expires_at"
 
String SCOPE_SEPARATOR = " "
 
String SCOPE = "scope"
 
String ACTIVE = "active"
 
DateFormatter dateFormat = new DateFormatter(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ"))
 

詳解

Strategy interface for assembling a token introspection result.

関数詳解

◆ assembleFrom() [1/2]

Map<String, Object> org.mitre.oauth2.service.IntrospectionResultAssembler.assembleFrom ( OAuth2AccessTokenEntity  accessToken,
UserInfo  userInfo,
Set< String >  authScopes 
)

Assemble a token introspection result from the given access token and user info.

引数
accessTokenthe access token
userInfothe user info
authScopesthe scopes the client is authorized for
戻り値
the token introspection result

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

◆ assembleFrom() [2/2]

Map<String, Object> org.mitre.oauth2.service.IntrospectionResultAssembler.assembleFrom ( OAuth2RefreshTokenEntity  refreshToken,
UserInfo  userInfo,
Set< String >  authScopes 
)

Assemble a token introspection result from the given refresh token and user info.

引数
refreshTokenthe refresh token
userInfothe user info
authScopesthe scopes the client is authorized for
戻り値
the token introspection result

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

メンバ詳解

◆ ACTIVE

String org.mitre.oauth2.service.IntrospectionResultAssembler.ACTIVE = "active"

◆ CLIENT_ID

String org.mitre.oauth2.service.IntrospectionResultAssembler.CLIENT_ID = "client_id"

◆ dateFormat

DateFormatter org.mitre.oauth2.service.IntrospectionResultAssembler.dateFormat = new DateFormatter(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ"))

◆ EXP

String org.mitre.oauth2.service.IntrospectionResultAssembler.EXP = "exp"

◆ EXPIRES_AT

String org.mitre.oauth2.service.IntrospectionResultAssembler.EXPIRES_AT = "expires_at"

◆ SCOPE

String org.mitre.oauth2.service.IntrospectionResultAssembler.SCOPE = "scope"

◆ SCOPE_SEPARATOR

String org.mitre.oauth2.service.IntrospectionResultAssembler.SCOPE_SEPARATOR = " "

◆ SUB

String org.mitre.oauth2.service.IntrospectionResultAssembler.SUB = "sub"

◆ TOKEN_TYPE

String org.mitre.oauth2.service.IntrospectionResultAssembler.TOKEN_TYPE = "token_type"

◆ USER_ID

String org.mitre.oauth2.service.IntrospectionResultAssembler.USER_ID = "user_id"

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