Package net.shibboleth.sp.oidc.profile
Class OIDCSupport
java.lang.Object
net.shibboleth.sp.oidc.profile.OIDCSupport
Support class for OIDC related implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateRandom(Integer length) Generates a secure random identifier, encoded in Hex..static StringgetState(org.opensaml.messaging.context.MessageContext messageContext) Extracts the state parameter value from anAuthenticationResponse.
-
Constructor Details
-
OIDCSupport
private OIDCSupport()Private constructor.
-
-
Method Details
-
generateRandom
Generates a secure random identifier, encoded in Hex..- Parameters:
length- the length of the parameter.- Returns:
- the randomly generated Hex value.
-
getState
@Nullable public static String getState(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) Extracts the state parameter value from anAuthenticationResponse.- Parameters:
messageContext- the message context.- Returns:
- the state parameter value or null.
-