Class ClientRegistrationTokenUtils
java.lang.Object
org.keycloak.services.clientregistration.ClientRegistrationTokenUtils
- Author:
- Stian Thorgersen
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createInitialAccessToken
(KeycloakSession session, RealmModel realm, ClientInitialAccessModel model) static String
updateRegistrationAccessToken
(KeycloakSession session, ClientModel client, RegistrationAuth registrationAuth) static String
updateRegistrationAccessToken
(KeycloakSession session, RealmModel realm, ClientModel client, RegistrationAuth registrationAuth) static String
updateTokenSignature
(KeycloakSession session, ClientRegistrationAuth auth) verifyToken
(KeycloakSession session, RealmModel realm, String token)
-
Field Details
-
TYPE_INITIAL_ACCESS_TOKEN
- See Also:
-
TYPE_REGISTRATION_ACCESS_TOKEN
- See Also:
-
-
Constructor Details
-
ClientRegistrationTokenUtils
public ClientRegistrationTokenUtils()
-
-
Method Details
-
updateTokenSignature
-
updateRegistrationAccessToken
public static String updateRegistrationAccessToken(KeycloakSession session, ClientModel client, RegistrationAuth registrationAuth) -
updateRegistrationAccessToken
public static String updateRegistrationAccessToken(KeycloakSession session, RealmModel realm, ClientModel client, RegistrationAuth registrationAuth) -
createInitialAccessToken
public static String createInitialAccessToken(KeycloakSession session, RealmModel realm, ClientInitialAccessModel model) -
verifyToken
public static ClientRegistrationTokenUtils.TokenVerification verifyToken(KeycloakSession session, RealmModel realm, String token)
-