Package org.keycloak.utils
Class SecureContextResolver
java.lang.Object
org.keycloak.utils.SecureContextResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isSecureContext
(KeycloakSession session) Determines if a session is within a 'secure context', meaning its origin is considered potentially trustworthy by user-agents.
-
Constructor Details
-
SecureContextResolver
public SecureContextResolver()
-
-
Method Details
-
isSecureContext
Determines if a session is within a 'secure context', meaning its origin is considered potentially trustworthy by user-agents.- Parameters:
session
- The session to check for trustworthiness.- Returns:
- Whether the session can be considered potentially trustworthy by user-agents.
- See Also:
-