Class OIDCResponseType

java.lang.Object
org.keycloak.protocol.oidc.utils.OIDCResponseType

public class OIDCResponseType extends Object
Author:
Marek Posolda
  • Field Details

  • Method Details

    • parse

      public static OIDCResponseType parse(String responseTypeParam)
    • parse

      public static OIDCResponseType parse(List<String> responseTypes)
    • hasResponseType

      public boolean hasResponseType(String responseType)
    • hasSingleResponseType

      public boolean hasSingleResponseType(String responseType)
      Checks whether the given responseType is the only value within the requested response types.
      Parameters:
      responseType - the response type
      Returns:
      true if the given response type if within the list of response types. Otherwise, false
    • isImplicitOrHybridFlow

      public boolean isImplicitOrHybridFlow()
    • isImplicitFlow

      public boolean isImplicitFlow()
    • toString

      public String toString()
      Overrides:
      toString in class Object