keycloak-service
|
公開メンバ関数 | |
TestProvider (OAuth2IdentityProviderConfig config) | |
Object | callback (RealmModel realm, AuthenticationCallback callback, EventBuilder event) |
Response | performLogin (AuthenticationRequest request) |
Response | retrieveToken (KeycloakSession session, FederatedIdentityModel identity) |
C | getConfig () |
Response | exchangeFromToken (UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject, MultivaluedMap< String, String > params) |
BrokeredIdentityContext | getFederatedIdentity (String response) |
String | getJsonProperty (JsonNode jsonNode, String name) |
JsonNode | asJsonNode (String json) throws IOException |
void | authenticationFinished (AuthenticationSessionModel authSession, BrokeredIdentityContext context) |
boolean | isIssuer (String issuer, MultivaluedMap< String, String > params) |
final BrokeredIdentityContext | exchangeExternal (EventBuilder event, MultivaluedMap< String, String > params) |
void | exchangeExternalComplete (UserSessionModel userSession, BrokeredIdentityContext context, MultivaluedMap< String, String > params) |
静的公開変数類 | |
static final String | OAUTH2_GRANT_TYPE_REFRESH_TOKEN = "refresh_token" |
static final String | OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE = "authorization_code" |
static final String | FEDERATED_REFRESH_TOKEN = "FEDERATED_REFRESH_TOKEN" |
static final String | FEDERATED_TOKEN_EXPIRATION = "FEDERATED_TOKEN_EXPIRATION" |
static final String | ACCESS_DENIED = "access_denied" |
static final String | OAUTH2_PARAMETER_ACCESS_TOKEN = "access_token" |
static final String | OAUTH2_PARAMETER_SCOPE = "scope" |
static final String | OAUTH2_PARAMETER_STATE = "state" |
static final String | OAUTH2_PARAMETER_RESPONSE_TYPE = "response_type" |
static final String | OAUTH2_PARAMETER_REDIRECT_URI = "redirect_uri" |
static final String | OAUTH2_PARAMETER_CODE = "code" |
static final String | OAUTH2_PARAMETER_CLIENT_ID = "client_id" |
static final String | OAUTH2_PARAMETER_CLIENT_SECRET = "client_secret" |
static final String | OAUTH2_PARAMETER_GRANT_TYPE = "grant_type" |
限定公開メンバ関数 | |
String | getDefaultScopes () |
BrokeredIdentityContext | doGetFederatedIdentity (String accessToken) |
String | extractTokenFromResponse (String response, String tokenName) |
Response | hasExternalExchangeToken (EventBuilder event, UserSessionModel tokenUserSession, MultivaluedMap< String, String > params) |
Response | exchangeStoredToken (UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) |
Response | exchangeSessionToken (UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) |
String | getAccessTokenResponseParameter () |
UriBuilder | createAuthorizationUrl (AuthenticationRequest request) |
String | getProfileEndpointForValidation (EventBuilder event) |
BrokeredIdentityContext | extractIdentityFromProfile (EventBuilder event, JsonNode node) |
BrokeredIdentityContext | validateExternalTokenThroughUserInfo (EventBuilder event, String subjectToken, String subjectTokenType) |
SimpleHttp | buildUserInfoRequest (String subjectToken, String userInfoUrl) |
boolean | supportsExternalExchange () |
BrokeredIdentityContext | exchangeExternalImpl (EventBuilder event, MultivaluedMap< String, String > params) |
BrokeredIdentityContext | exchangeExternalUserInfoValidationOnly (EventBuilder event, MultivaluedMap< String, String > params) |
静的限定公開変数類 | |
static final Logger | logger = Logger.getLogger(AbstractOAuth2IdentityProvider.class) |
static ObjectMapper | mapper = new ObjectMapper() |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotected |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineprotected |
|
inlineinherited |
|
inlineinherited |
Get JSON property as text. JSON numbers and booleans are converted to text. Empty string is converted to null.
jsonNode | to get property from |
name | of property to get |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
check to see if we have a token exchange in session in other words check to see if this session was created by an external exchange
tokenUserSession | |
params |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticprotectedinherited |
|
staticprotectedinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |