Package org.keycloak.protocol.oidc.utils
Class RedirectUtils
java.lang.Object
org.keycloak.protocol.oidc.utils.RedirectUtils
- Author:
- Stian Thorgersen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveValidRedirects
(KeycloakSession session, String rootUrl, Set<String> validRedirects) static String
validateRedirectUriWildcard
(String redirectUri) static String
verifyRealmRedirectUri
(KeycloakSession session, String redirectUri) Deprecated.static String
verifyRedirectUri
(KeycloakSession session, String rootUrl, String redirectUri, Set<String> validRedirects, boolean requireRedirectUri) static String
verifyRedirectUri
(KeycloakSession session, String redirectUri, ClientModel client) static String
verifyRedirectUri
(KeycloakSession session, String redirectUri, ClientModel client, boolean requireRedirectUri)
-
Constructor Details
-
RedirectUtils
public RedirectUtils()
-
-
Method Details
-
verifyRealmRedirectUri
@Deprecated public static String verifyRealmRedirectUri(KeycloakSession session, String redirectUri) Deprecated.This method is deprecated for performance and security reasons and it is available just for the backwards compatibility. It is recommended to use some other methods of this class where the client is given as an argument to the method, so we know the client, which redirect-uri we are trying to resolve. -
verifyRedirectUri
public static String verifyRedirectUri(KeycloakSession session, String redirectUri, ClientModel client) -
verifyRedirectUri
public static String verifyRedirectUri(KeycloakSession session, String redirectUri, ClientModel client, boolean requireRedirectUri) -
resolveValidRedirects
-
verifyRedirectUri
-
validateRedirectUriWildcard
-