Class OidcRequestContextProperties

java.lang.Object
io.quarkus.oidc.common.OidcRequestContextProperties

public class OidcRequestContextProperties extends Object
  • Field Details

    • TOKEN

      public static String TOKEN
    • TOKEN_CREDENTIAL

      public static String TOKEN_CREDENTIAL
    • DISCOVERY_ENDPOINT

      public static String DISCOVERY_ENDPOINT
  • Constructor Details

    • OidcRequestContextProperties

      public OidcRequestContextProperties()
    • OidcRequestContextProperties

      public OidcRequestContextProperties(Map<String,Object> properties)
  • Method Details

    • get

      public <T> T get(String name)
      Get property value
      Parameters:
      name - property name
      Returns:
      property value
    • getString

      public String getString(String name)
      Get property value as String
      Parameters:
      name - property name
      Returns:
      property value as String
    • get

      public <T> T get(String name, Class<T> type)
      Get typed property value
      Parameters:
      name - property name
      type - property type
      Returns:
      typed property value
    • getAll

      public Map<String,Object> getAll()
      Get an unmodifiable view of the current context properties.
      Returns:
      all properties
    • put

      public OidcRequestContextProperties put(String name, Object value)
      Set the property
      Parameters:
      name - property name
      value - property value
      Returns:
      this OidcRequestContextProperties instance