keycloak-oidc-service
|
クラス | |
class | OIDCEndpoint |
公開メンバ関数 | |
OIDCIdentityProvider (KeycloakSession session, OIDCIdentityProviderConfig config) | |
Object | callback (RealmModel realm, AuthenticationCallback callback, EventBuilder event) |
void | backchannelLogout (KeycloakSession session, UserSessionModel userSession, UriInfo uriInfo, RealmModel realm) |
Response | keycloakInitiatedBrowserLogout (KeycloakSession session, UserSessionModel userSession, UriInfo uriInfo, RealmModel realm) |
String | refreshTokenForLogout (KeycloakSession session, UserSessionModel userSession) |
BrokeredIdentityContext | getFederatedIdentity (String response) |
void | authenticationFinished (AuthenticationSessionModel authSession, BrokeredIdentityContext context) |
boolean | isIssuer (String issuer, MultivaluedMap< String, String > params) |
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) |
String | getJsonProperty (JsonNode jsonNode, String name) |
JsonNode | asJsonNode (String json) throws IOException |
final BrokeredIdentityContext | exchangeExternal (EventBuilder event, MultivaluedMap< String, String > params) |
void | exchangeExternalComplete (UserSessionModel userSession, BrokeredIdentityContext context, MultivaluedMap< String, String > params) |
BrokeredIdentityContext | exchangeExternal (EventBuilder event, MultivaluedMap< String, String > params) |
void | exchangeExternalComplete (UserSessionModel userSession, BrokeredIdentityContext context, MultivaluedMap< String, String > params) |
静的公開変数類 | |
static final String | SCOPE_OPENID = "openid" |
static final String | FEDERATED_ID_TOKEN = "FEDERATED_ID_TOKEN" |
static final String | USER_INFO = "UserInfo" |
static final String | FEDERATED_ACCESS_TOKEN_RESPONSE = "FEDERATED_ACCESS_TOKEN_RESPONSE" |
static final String | VALIDATED_ID_TOKEN = "VALIDATED_ID_TOKEN" |
static final String | ACCESS_TOKEN_EXPIRATION = "accessTokenExpiration" |
static final String | EXCHANGE_PROVIDER = "EXCHANGE_PROVIDER" |
static final String | OAUTH2_GRANT_TYPE_REFRESH_TOKEN |
static final String | OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE |
static final String | FEDERATED_REFRESH_TOKEN |
static final String | FEDERATED_TOKEN_EXPIRATION |
static final String | ACCESS_DENIED |
static final String | OAUTH2_PARAMETER_ACCESS_TOKEN |
static final String | OAUTH2_PARAMETER_SCOPE |
static final String | OAUTH2_PARAMETER_STATE |
static final String | OAUTH2_PARAMETER_RESPONSE_TYPE |
static final String | OAUTH2_PARAMETER_REDIRECT_URI |
static final String | OAUTH2_PARAMETER_CODE |
static final String | OAUTH2_PARAMETER_CLIENT_ID |
static final String | OAUTH2_PARAMETER_CLIENT_SECRET |
static final String | OAUTH2_PARAMETER_GRANT_TYPE |
限定公開メンバ関数 | |
void | backchannelLogout (UserSessionModel userSession, String idToken) |
void | processAccessTokenResponse (BrokeredIdentityContext context, AccessTokenResponse response) |
Response | exchangeStoredToken (UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) |
Response | exchangeSessionToken (UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) |
BrokeredIdentityContext | extractIdentity (AccessTokenResponse tokenResponse, String accessToken, JsonWebToken idToken) throws IOException |
String | getusernameClaimNameForIdToken () |
String | getUserInfoUrl () |
boolean | verify (JWSInput jws) |
JsonWebToken | validateToken (String encodedToken) |
JsonWebToken | validateToken (String encodedToken, boolean ignoreAudience) |
String | getDefaultScopes () |
boolean | supportsExternalExchange () |
String | getProfileEndpointForValidation (EventBuilder event) |
BrokeredIdentityContext | extractIdentityFromProfile (EventBuilder event, JsonNode userInfo) |
String | getUsernameFromUserInfo (JsonNode userInfo) |
final BrokeredIdentityContext | validateJwt (EventBuilder event, String subjectToken, String subjectTokenType) |
BrokeredIdentityContext | exchangeExternalImpl (EventBuilder event, MultivaluedMap< String, String > params) |
String | extractTokenFromResponse (String response, String tokenName) |
Response | hasExternalExchangeToken (EventBuilder event, UserSessionModel tokenUserSession, MultivaluedMap< String, String > params) |
String | getAccessTokenResponseParameter () |
BrokeredIdentityContext | doGetFederatedIdentity (String accessToken) |
UriBuilder | createAuthorizationUrl (AuthenticationRequest request) |
BrokeredIdentityContext | validateExternalTokenThroughUserInfo (EventBuilder event, String subjectToken, String subjectTokenType) |
SimpleHttp | buildUserInfoRequest (String subjectToken, String userInfoUrl) |
BrokeredIdentityContext | exchangeExternalUserInfoValidationOnly (EventBuilder event, MultivaluedMap< String, String > params) |
静的限定公開変数類 | |
static final Logger | logger = Logger.getLogger(OIDCIdentityProvider.class) |
static ObjectMapper | mapper |
非公開メンバ関数 | |
String | getIDTokenForLogout (KeycloakSession session, UserSessionModel userSession) |
String | verifyAccessToken (AccessTokenResponse tokenResponse) |
|
inline |
|
inlineinherited |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotectedinherited |
|
inline |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineprotected |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineprotected |
|
inline |
|
inlineprivate |
|
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 |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
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 |
|
inline |
org.keycloak.broker.provider.ExchangeExternalTokenを実装しています。
|
inline |
|
inlineinherited |
|
inlineprotected |
|
inline |
Returns access token response as a string from a refresh token invocation on the remote OIDC broker
session | |
userSession |
|
inlineinherited |
|
inlineprotected |
|
inlineprotectedinherited |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprivate |
|
staticinherited |
|
static |
|
static |
|
static |
|
static |
|
staticinherited |
|
staticinherited |
|
staticprotected |
|
staticprotectedinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
static |
|
static |
|
static |