mitreid-connect
|
公開メンバ関数 | |
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.
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.
accessToken | the access token |
userInfo | the user info |
authScopes | the scopes the client is authorized for |
org.mitre.oauth2.service.impl.DefaultIntrospectionResultAssemblerで実装されています。
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.
refreshToken | the refresh token |
userInfo | the user info |
authScopes | the scopes the client is authorized for |
org.mitre.oauth2.service.impl.DefaultIntrospectionResultAssemblerで実装されています。
String org.mitre.oauth2.service.IntrospectionResultAssembler.ACTIVE = "active" |
String org.mitre.oauth2.service.IntrospectionResultAssembler.CLIENT_ID = "client_id" |
DateFormatter org.mitre.oauth2.service.IntrospectionResultAssembler.dateFormat = new DateFormatter(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ")) |
String org.mitre.oauth2.service.IntrospectionResultAssembler.EXP = "exp" |
String org.mitre.oauth2.service.IntrospectionResultAssembler.EXPIRES_AT = "expires_at" |
String org.mitre.oauth2.service.IntrospectionResultAssembler.SCOPE = "scope" |
String org.mitre.oauth2.service.IntrospectionResultAssembler.SCOPE_SEPARATOR = " " |
String org.mitre.oauth2.service.IntrospectionResultAssembler.SUB = "sub" |
String org.mitre.oauth2.service.IntrospectionResultAssembler.TOKEN_TYPE = "token_type" |
String org.mitre.oauth2.service.IntrospectionResultAssembler.USER_ID = "user_id" |