java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, JwtAuthenticationOrBuilder, Serializable

public final class JwtAuthentication extends com.google.protobuf.GeneratedMessageV3 implements JwtAuthenticationOrBuilder
 This is the Envoy HTTP filter config for JWT authentication.

 For example:

 .. code-block:: yaml

   providers:
      provider1:
        issuer: issuer1
        audiences:
        - audience1
        - audience2
        remote_jwks:
          http_uri:
            uri: https://example.com/.well-known/jwks.json
            cluster: example_jwks_cluster
            timeout: 1s
      provider2:
        issuer: issuer2
        local_jwks:
          inline_string: jwks_string

   rules:
      # Not jwt verification is required for /health path
      - match:
          prefix: /health

      # Jwt verification for provider1 is required for path prefixed with "prefix"
      - match:
          prefix: /prefix
        requires:
          provider_name: provider1

      # Jwt verification for either provider1 or provider2 is required for all other requests.
      - match:
          prefix: /
        requires:
          requires_any:
            requirements:
              - provider_name: provider1
              - provider_name: provider2

 [#next-free-field: 8]
 
Protobuf type envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    This is the Envoy HTTP filter config for JWT authentication.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Map of provider names to JwtProviders. .. code-block:: yaml providers: provider1: issuer: issuer1 audiences: - audience1 - audience2 remote_jwks: http_uri: uri: https://example.com/.well-known/jwks.json cluster: example_jwks_cluster timeout: 1s provider2: issuer: provider2 local_jwks: inline_string: jwks_string
    boolean
    A map of unique requirement_names to JwtRequirements.
    boolean
     
    boolean
    When set to true, bypass the `CORS preflight request <http://www.w3.org/TR/cors/#cross-origin-request-with-preflight>`_ regardless of JWT requirements specified in the rules.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    This message specifies Jwt requirements based on stream_info.filterState.
    This message specifies Jwt requirements based on stream_info.filterState.
    com.google.protobuf.Parser<JwtAuthentication>
     
    Deprecated.
    int
    Map of provider names to JwtProviders. .. code-block:: yaml providers: provider1: issuer: issuer1 audiences: - audience1 - audience2 remote_jwks: http_uri: uri: https://example.com/.well-known/jwks.json cluster: example_jwks_cluster timeout: 1s provider2: issuer: provider2 local_jwks: inline_string: jwks_string
    Map of provider names to JwtProviders. .. code-block:: yaml providers: provider1: issuer: issuer1 audiences: - audience1 - audience2 remote_jwks: http_uri: uri: https://example.com/.well-known/jwks.json cluster: example_jwks_cluster timeout: 1s provider2: issuer: provider2 local_jwks: inline_string: jwks_string
    Map of provider names to JwtProviders. .. code-block:: yaml providers: provider1: issuer: issuer1 audiences: - audience1 - audience2 remote_jwks: http_uri: uri: https://example.com/.well-known/jwks.json cluster: example_jwks_cluster timeout: 1s provider2: issuer: provider2 local_jwks: inline_string: jwks_string
    Map of provider names to JwtProviders. .. code-block:: yaml providers: provider1: issuer: issuer1 audiences: - audience1 - audience2 remote_jwks: http_uri: uri: https://example.com/.well-known/jwks.json cluster: example_jwks_cluster timeout: 1s provider2: issuer: provider2 local_jwks: inline_string: jwks_string
    Deprecated.
    int
    A map of unique requirement_names to JwtRequirements.
    A map of unique requirement_names to JwtRequirements.
    A map of unique requirement_names to JwtRequirements.
    A map of unique requirement_names to JwtRequirements.
    getRules(int index)
    Specifies requirements based on the route matches.
    int
    Specifies requirements based on the route matches.
    Specifies requirements based on the route matches.
    getRulesOrBuilder(int index)
    Specifies requirements based on the route matches.
    Specifies requirements based on the route matches.
    int
     
    Optional additional prefix to use when emitting statistics.
    com.google.protobuf.ByteString
    Optional additional prefix to use when emitting statistics.
    boolean
    A request failing the verification process will receive a 401 downstream with the failure response details in the body along with WWWAuthenticate header value set with "invalid token".
    boolean
    This message specifies Jwt requirements based on stream_info.filterState.
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<JwtAuthentication>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • PROVIDERS_FIELD_NUMBER

      public static final int PROVIDERS_FIELD_NUMBER
      See Also:
    • RULES_FIELD_NUMBER

      public static final int RULES_FIELD_NUMBER
      See Also:
    • FILTER_STATE_RULES_FIELD_NUMBER

      public static final int FILTER_STATE_RULES_FIELD_NUMBER
      See Also:
    • BYPASS_CORS_PREFLIGHT_FIELD_NUMBER

      public static final int BYPASS_CORS_PREFLIGHT_FIELD_NUMBER
      See Also:
    • REQUIREMENT_MAP_FIELD_NUMBER

      public static final int REQUIREMENT_MAP_FIELD_NUMBER
      See Also:
    • STRIP_FAILURE_RESPONSE_FIELD_NUMBER

      public static final int STRIP_FAILURE_RESPONSE_FIELD_NUMBER
      See Also:
    • STAT_PREFIX_FIELD_NUMBER

      public static final int STAT_PREFIX_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getProvidersCount

      public int getProvidersCount()
      Description copied from interface: JwtAuthenticationOrBuilder
       Map of provider names to JwtProviders.
      
       .. code-block:: yaml
      
         providers:
           provider1:
              issuer: issuer1
              audiences:
              - audience1
              - audience2
              remote_jwks:
                http_uri:
                  uri: https://example.com/.well-known/jwks.json
                  cluster: example_jwks_cluster
                  timeout: 1s
            provider2:
              issuer: provider2
              local_jwks:
                inline_string: jwks_string
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtProvider> providers = 1;
      Specified by:
      getProvidersCount in interface JwtAuthenticationOrBuilder
    • containsProviders

      public boolean containsProviders(String key)
       Map of provider names to JwtProviders.
      
       .. code-block:: yaml
      
         providers:
           provider1:
              issuer: issuer1
              audiences:
              - audience1
              - audience2
              remote_jwks:
                http_uri:
                  uri: https://example.com/.well-known/jwks.json
                  cluster: example_jwks_cluster
                  timeout: 1s
            provider2:
              issuer: provider2
              local_jwks:
                inline_string: jwks_string
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtProvider> providers = 1;
      Specified by:
      containsProviders in interface JwtAuthenticationOrBuilder
    • getProviders

      @Deprecated public Map<String,JwtProvider> getProviders()
      Deprecated.
      Use getProvidersMap() instead.
      Specified by:
      getProviders in interface JwtAuthenticationOrBuilder
    • getProvidersMap

      public Map<String,JwtProvider> getProvidersMap()
       Map of provider names to JwtProviders.
      
       .. code-block:: yaml
      
         providers:
           provider1:
              issuer: issuer1
              audiences:
              - audience1
              - audience2
              remote_jwks:
                http_uri:
                  uri: https://example.com/.well-known/jwks.json
                  cluster: example_jwks_cluster
                  timeout: 1s
            provider2:
              issuer: provider2
              local_jwks:
                inline_string: jwks_string
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtProvider> providers = 1;
      Specified by:
      getProvidersMap in interface JwtAuthenticationOrBuilder
    • getProvidersOrDefault

      public JwtProvider getProvidersOrDefault(String key, JwtProvider defaultValue)
       Map of provider names to JwtProviders.
      
       .. code-block:: yaml
      
         providers:
           provider1:
              issuer: issuer1
              audiences:
              - audience1
              - audience2
              remote_jwks:
                http_uri:
                  uri: https://example.com/.well-known/jwks.json
                  cluster: example_jwks_cluster
                  timeout: 1s
            provider2:
              issuer: provider2
              local_jwks:
                inline_string: jwks_string
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtProvider> providers = 1;
      Specified by:
      getProvidersOrDefault in interface JwtAuthenticationOrBuilder
    • getProvidersOrThrow

      public JwtProvider getProvidersOrThrow(String key)
       Map of provider names to JwtProviders.
      
       .. code-block:: yaml
      
         providers:
           provider1:
              issuer: issuer1
              audiences:
              - audience1
              - audience2
              remote_jwks:
                http_uri:
                  uri: https://example.com/.well-known/jwks.json
                  cluster: example_jwks_cluster
                  timeout: 1s
            provider2:
              issuer: provider2
              local_jwks:
                inline_string: jwks_string
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtProvider> providers = 1;
      Specified by:
      getProvidersOrThrow in interface JwtAuthenticationOrBuilder
    • getRulesList

      public List<RequirementRule> getRulesList()
       Specifies requirements based on the route matches. The first matched requirement will be
       applied. If there are overlapped match conditions, please put the most specific match first.
      
       Examples
      
       .. code-block:: yaml
      
         rules:
           - match:
               prefix: /healthz
           - match:
               prefix: /baz
             requires:
               provider_name: provider1
           - match:
               prefix: /foo
             requires:
               requires_any:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
           - match:
               prefix: /bar
             requires:
               requires_all:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
       
      repeated .envoy.extensions.filters.http.jwt_authn.v3.RequirementRule rules = 2;
      Specified by:
      getRulesList in interface JwtAuthenticationOrBuilder
    • getRulesOrBuilderList

      public List<? extends RequirementRuleOrBuilder> getRulesOrBuilderList()
       Specifies requirements based on the route matches. The first matched requirement will be
       applied. If there are overlapped match conditions, please put the most specific match first.
      
       Examples
      
       .. code-block:: yaml
      
         rules:
           - match:
               prefix: /healthz
           - match:
               prefix: /baz
             requires:
               provider_name: provider1
           - match:
               prefix: /foo
             requires:
               requires_any:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
           - match:
               prefix: /bar
             requires:
               requires_all:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
       
      repeated .envoy.extensions.filters.http.jwt_authn.v3.RequirementRule rules = 2;
      Specified by:
      getRulesOrBuilderList in interface JwtAuthenticationOrBuilder
    • getRulesCount

      public int getRulesCount()
       Specifies requirements based on the route matches. The first matched requirement will be
       applied. If there are overlapped match conditions, please put the most specific match first.
      
       Examples
      
       .. code-block:: yaml
      
         rules:
           - match:
               prefix: /healthz
           - match:
               prefix: /baz
             requires:
               provider_name: provider1
           - match:
               prefix: /foo
             requires:
               requires_any:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
           - match:
               prefix: /bar
             requires:
               requires_all:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
       
      repeated .envoy.extensions.filters.http.jwt_authn.v3.RequirementRule rules = 2;
      Specified by:
      getRulesCount in interface JwtAuthenticationOrBuilder
    • getRules

      public RequirementRule getRules(int index)
       Specifies requirements based on the route matches. The first matched requirement will be
       applied. If there are overlapped match conditions, please put the most specific match first.
      
       Examples
      
       .. code-block:: yaml
      
         rules:
           - match:
               prefix: /healthz
           - match:
               prefix: /baz
             requires:
               provider_name: provider1
           - match:
               prefix: /foo
             requires:
               requires_any:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
           - match:
               prefix: /bar
             requires:
               requires_all:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
       
      repeated .envoy.extensions.filters.http.jwt_authn.v3.RequirementRule rules = 2;
      Specified by:
      getRules in interface JwtAuthenticationOrBuilder
    • getRulesOrBuilder

      public RequirementRuleOrBuilder getRulesOrBuilder(int index)
       Specifies requirements based on the route matches. The first matched requirement will be
       applied. If there are overlapped match conditions, please put the most specific match first.
      
       Examples
      
       .. code-block:: yaml
      
         rules:
           - match:
               prefix: /healthz
           - match:
               prefix: /baz
             requires:
               provider_name: provider1
           - match:
               prefix: /foo
             requires:
               requires_any:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
           - match:
               prefix: /bar
             requires:
               requires_all:
                 requirements:
                   - provider_name: provider1
                   - provider_name: provider2
       
      repeated .envoy.extensions.filters.http.jwt_authn.v3.RequirementRule rules = 2;
      Specified by:
      getRulesOrBuilder in interface JwtAuthenticationOrBuilder
    • hasFilterStateRules

      public boolean hasFilterStateRules()
       This message specifies Jwt requirements based on stream_info.filterState.
       Other HTTP filters can use it to specify Jwt requirements dynamically.
       The ``rules`` field above is checked first, if it could not find any matches,
       check this one.
       
      .envoy.extensions.filters.http.jwt_authn.v3.FilterStateRule filter_state_rules = 3;
      Specified by:
      hasFilterStateRules in interface JwtAuthenticationOrBuilder
      Returns:
      Whether the filterStateRules field is set.
    • getFilterStateRules

      public FilterStateRule getFilterStateRules()
       This message specifies Jwt requirements based on stream_info.filterState.
       Other HTTP filters can use it to specify Jwt requirements dynamically.
       The ``rules`` field above is checked first, if it could not find any matches,
       check this one.
       
      .envoy.extensions.filters.http.jwt_authn.v3.FilterStateRule filter_state_rules = 3;
      Specified by:
      getFilterStateRules in interface JwtAuthenticationOrBuilder
      Returns:
      The filterStateRules.
    • getFilterStateRulesOrBuilder

      public FilterStateRuleOrBuilder getFilterStateRulesOrBuilder()
       This message specifies Jwt requirements based on stream_info.filterState.
       Other HTTP filters can use it to specify Jwt requirements dynamically.
       The ``rules`` field above is checked first, if it could not find any matches,
       check this one.
       
      .envoy.extensions.filters.http.jwt_authn.v3.FilterStateRule filter_state_rules = 3;
      Specified by:
      getFilterStateRulesOrBuilder in interface JwtAuthenticationOrBuilder
    • getBypassCorsPreflight

      public boolean getBypassCorsPreflight()
       When set to true, bypass the `CORS preflight request
       <http://www.w3.org/TR/cors/#cross-origin-request-with-preflight>`_ regardless of JWT
       requirements specified in the rules.
       
      bool bypass_cors_preflight = 4;
      Specified by:
      getBypassCorsPreflight in interface JwtAuthenticationOrBuilder
      Returns:
      The bypassCorsPreflight.
    • getRequirementMapCount

      public int getRequirementMapCount()
      Description copied from interface: JwtAuthenticationOrBuilder
       A map of unique requirement_names to JwtRequirements.
       :ref:`requirement_name <envoy_v3_api_field_extensions.filters.http.jwt_authn.v3.PerRouteConfig.requirement_name>`
       in ``PerRouteConfig`` uses this map to specify a JwtRequirement.
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtRequirement> requirement_map = 5;
      Specified by:
      getRequirementMapCount in interface JwtAuthenticationOrBuilder
    • containsRequirementMap

      public boolean containsRequirementMap(String key)
       A map of unique requirement_names to JwtRequirements.
       :ref:`requirement_name <envoy_v3_api_field_extensions.filters.http.jwt_authn.v3.PerRouteConfig.requirement_name>`
       in ``PerRouteConfig`` uses this map to specify a JwtRequirement.
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtRequirement> requirement_map = 5;
      Specified by:
      containsRequirementMap in interface JwtAuthenticationOrBuilder
    • getRequirementMap

      @Deprecated public Map<String,JwtRequirement> getRequirementMap()
      Deprecated.
      Specified by:
      getRequirementMap in interface JwtAuthenticationOrBuilder
    • getRequirementMapMap

      public Map<String,JwtRequirement> getRequirementMapMap()
       A map of unique requirement_names to JwtRequirements.
       :ref:`requirement_name <envoy_v3_api_field_extensions.filters.http.jwt_authn.v3.PerRouteConfig.requirement_name>`
       in ``PerRouteConfig`` uses this map to specify a JwtRequirement.
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtRequirement> requirement_map = 5;
      Specified by:
      getRequirementMapMap in interface JwtAuthenticationOrBuilder
    • getRequirementMapOrDefault

      public JwtRequirement getRequirementMapOrDefault(String key, JwtRequirement defaultValue)
       A map of unique requirement_names to JwtRequirements.
       :ref:`requirement_name <envoy_v3_api_field_extensions.filters.http.jwt_authn.v3.PerRouteConfig.requirement_name>`
       in ``PerRouteConfig`` uses this map to specify a JwtRequirement.
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtRequirement> requirement_map = 5;
      Specified by:
      getRequirementMapOrDefault in interface JwtAuthenticationOrBuilder
    • getRequirementMapOrThrow

      public JwtRequirement getRequirementMapOrThrow(String key)
       A map of unique requirement_names to JwtRequirements.
       :ref:`requirement_name <envoy_v3_api_field_extensions.filters.http.jwt_authn.v3.PerRouteConfig.requirement_name>`
       in ``PerRouteConfig`` uses this map to specify a JwtRequirement.
       
      map<string, .envoy.extensions.filters.http.jwt_authn.v3.JwtRequirement> requirement_map = 5;
      Specified by:
      getRequirementMapOrThrow in interface JwtAuthenticationOrBuilder
    • getStripFailureResponse

      public boolean getStripFailureResponse()
       A request failing the verification process will receive a 401 downstream with the failure response details
       in the body along with WWWAuthenticate header value set with "invalid token". If this value is set to true,
       the response details will be stripped and only a 401 response code will be returned. Default value is false
       
      bool strip_failure_response = 6;
      Specified by:
      getStripFailureResponse in interface JwtAuthenticationOrBuilder
      Returns:
      The stripFailureResponse.
    • getStatPrefix

      public String getStatPrefix()
       Optional additional prefix to use when emitting statistics.
       
      string stat_prefix = 7;
      Specified by:
      getStatPrefix in interface JwtAuthenticationOrBuilder
      Returns:
      The statPrefix.
    • getStatPrefixBytes

      public com.google.protobuf.ByteString getStatPrefixBytes()
       Optional additional prefix to use when emitting statistics.
       
      string stat_prefix = 7;
      Specified by:
      getStatPrefixBytes in interface JwtAuthenticationOrBuilder
      Returns:
      The bytes for statPrefix.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static JwtAuthentication parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JwtAuthentication parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JwtAuthentication parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JwtAuthentication parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JwtAuthentication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JwtAuthentication parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static JwtAuthentication parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JwtAuthentication parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static JwtAuthentication parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static JwtAuthentication parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JwtAuthentication parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static JwtAuthentication parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public JwtAuthentication.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static JwtAuthentication.Builder newBuilder()
    • newBuilder

      public static JwtAuthentication.Builder newBuilder(JwtAuthentication prototype)
    • toBuilder

      public JwtAuthentication.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected JwtAuthentication.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static JwtAuthentication getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<JwtAuthentication> parser()
    • getParserForType

      public com.google.protobuf.Parser<JwtAuthentication> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public JwtAuthentication getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder