Class ClientConfig

java.lang.Object
io.strimzi.kafka.oauth.common.Config
io.strimzi.kafka.oauth.client.ClientConfig

public class ClientConfig extends Config
A Config object used for client configuration
  • Field Details

    • OAUTH_ACCESS_TOKEN

      public static final String OAUTH_ACCESS_TOKEN
      "oauth.access.token"
      See Also:
    • OAUTH_ACCESS_TOKEN_LOCATION

      public static final String OAUTH_ACCESS_TOKEN_LOCATION
      "oauth.access.token.location"
      See Also:
    • OAUTH_REFRESH_TOKEN

      public static final String OAUTH_REFRESH_TOKEN
      "oauth.refresh.token"
      See Also:
    • OAUTH_REFRESH_TOKEN_LOCATION

      public static final String OAUTH_REFRESH_TOKEN_LOCATION
      "oauth.refresh.token.location"
      See Also:
    • OAUTH_TOKEN_ENDPOINT_URI

      public static final String OAUTH_TOKEN_ENDPOINT_URI
      "oauth.token.endpoint.uri"
      See Also:
    • OAUTH_MAX_TOKEN_EXPIRY_SECONDS

      public static final String OAUTH_MAX_TOKEN_EXPIRY_SECONDS
      "oauth.max.token.expiry.seconds"
      See Also:
    • OAUTH_PASSWORD_GRANT_USERNAME

      public static final String OAUTH_PASSWORD_GRANT_USERNAME
      "oauth.password.grant.username"
      See Also:
    • OAUTH_PASSWORD_GRANT_PASSWORD

      public static final String OAUTH_PASSWORD_GRANT_PASSWORD
      "oauth.password.grant.password"
      See Also:
    • OAUTH_CLIENT_ASSERTION

      public static final String OAUTH_CLIENT_ASSERTION
      "oauth.client.assertion"
      See Also:
    • OAUTH_CLIENT_ASSERTION_LOCATION

      public static final String OAUTH_CLIENT_ASSERTION_LOCATION
      "oauth.client.assertion.location"
      See Also:
    • OAUTH_CLIENT_ASSERTION_TYPE

      public static final String OAUTH_CLIENT_ASSERTION_TYPE
      "oauth.client.assertion.type"
      See Also:
    • OAUTH_SASL_EXTENSION_PREFIX

      public static final String OAUTH_SASL_EXTENSION_PREFIX
      A prefix to use to pass SASL extensions options
      See Also:
  • Constructor Details

    • ClientConfig

      public ClientConfig()
      Create a new instance
    • ClientConfig

      public ClientConfig(Properties p)
      Create a new instance
      Parameters:
      p - Properties object containing the configuration