Interface JwtRequirementOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
JwtRequirement, JwtRequirement.Builder

public interface JwtRequirementOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasProviderName

      boolean hasProviderName()
       Specify a required provider name.
       
      string provider_name = 1;
      Returns:
      Whether the providerName field is set.
    • getProviderName

      String getProviderName()
       Specify a required provider name.
       
      string provider_name = 1;
      Returns:
      The providerName.
    • getProviderNameBytes

      com.google.protobuf.ByteString getProviderNameBytes()
       Specify a required provider name.
       
      string provider_name = 1;
      Returns:
      The bytes for providerName.
    • hasProviderAndAudiences

      boolean hasProviderAndAudiences()
       Specify a required provider with audiences.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.ProviderWithAudiences provider_and_audiences = 2;
      Returns:
      Whether the providerAndAudiences field is set.
    • getProviderAndAudiences

      ProviderWithAudiences getProviderAndAudiences()
       Specify a required provider with audiences.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.ProviderWithAudiences provider_and_audiences = 2;
      Returns:
      The providerAndAudiences.
    • getProviderAndAudiencesOrBuilder

      ProviderWithAudiencesOrBuilder getProviderAndAudiencesOrBuilder()
       Specify a required provider with audiences.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.ProviderWithAudiences provider_and_audiences = 2;
    • hasRequiresAny

      boolean hasRequiresAny()
       Specify list of JwtRequirement. Their results are OR-ed.
       If any one of them passes, the result is passed.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirementOrList requires_any = 3;
      Returns:
      Whether the requiresAny field is set.
    • getRequiresAny

      JwtRequirementOrList getRequiresAny()
       Specify list of JwtRequirement. Their results are OR-ed.
       If any one of them passes, the result is passed.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirementOrList requires_any = 3;
      Returns:
      The requiresAny.
    • getRequiresAnyOrBuilder

      JwtRequirementOrListOrBuilder getRequiresAnyOrBuilder()
       Specify list of JwtRequirement. Their results are OR-ed.
       If any one of them passes, the result is passed.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirementOrList requires_any = 3;
    • hasRequiresAll

      boolean hasRequiresAll()
       Specify list of JwtRequirement. Their results are AND-ed.
       All of them must pass, if one of them fails or missing, it fails.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirementAndList requires_all = 4;
      Returns:
      Whether the requiresAll field is set.
    • getRequiresAll

      JwtRequirementAndList getRequiresAll()
       Specify list of JwtRequirement. Their results are AND-ed.
       All of them must pass, if one of them fails or missing, it fails.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirementAndList requires_all = 4;
      Returns:
      The requiresAll.
    • getRequiresAllOrBuilder

      JwtRequirementAndListOrBuilder getRequiresAllOrBuilder()
       Specify list of JwtRequirement. Their results are AND-ed.
       All of them must pass, if one of them fails or missing, it fails.
       
      .envoy.config.filter.http.jwt_authn.v2alpha.JwtRequirementAndList requires_all = 4;
    • hasAllowMissingOrFailed

      boolean hasAllowMissingOrFailed()
       The requirement is always satisfied even if JWT is missing or the JWT
       verification fails. A typical usage is: this filter is used to only verify
       JWTs and pass the verified JWT payloads to another filter, the other filter
       will make decision. In this mode, all JWTs will be verified.
       
      .google.protobuf.Empty allow_missing_or_failed = 5;
      Returns:
      Whether the allowMissingOrFailed field is set.
    • getAllowMissingOrFailed

      com.google.protobuf.Empty getAllowMissingOrFailed()
       The requirement is always satisfied even if JWT is missing or the JWT
       verification fails. A typical usage is: this filter is used to only verify
       JWTs and pass the verified JWT payloads to another filter, the other filter
       will make decision. In this mode, all JWTs will be verified.
       
      .google.protobuf.Empty allow_missing_or_failed = 5;
      Returns:
      The allowMissingOrFailed.
    • getAllowMissingOrFailedOrBuilder

      com.google.protobuf.EmptyOrBuilder getAllowMissingOrFailedOrBuilder()
       The requirement is always satisfied even if JWT is missing or the JWT
       verification fails. A typical usage is: this filter is used to only verify
       JWTs and pass the verified JWT payloads to another filter, the other filter
       will make decision. In this mode, all JWTs will be verified.
       
      .google.protobuf.Empty allow_missing_or_failed = 5;
    • hasAllowMissing

      boolean hasAllowMissing()
       The requirement is satisfied if JWT is missing, but failed if JWT is
       presented but invalid. Similar to allow_missing_or_failed, this is used
       to only verify JWTs and pass the verified payload to another filter. The
       different is this mode will reject requests with invalid tokens.
       
      .google.protobuf.Empty allow_missing = 6;
      Returns:
      Whether the allowMissing field is set.
    • getAllowMissing

      com.google.protobuf.Empty getAllowMissing()
       The requirement is satisfied if JWT is missing, but failed if JWT is
       presented but invalid. Similar to allow_missing_or_failed, this is used
       to only verify JWTs and pass the verified payload to another filter. The
       different is this mode will reject requests with invalid tokens.
       
      .google.protobuf.Empty allow_missing = 6;
      Returns:
      The allowMissing.
    • getAllowMissingOrBuilder

      com.google.protobuf.EmptyOrBuilder getAllowMissingOrBuilder()
       The requirement is satisfied if JWT is missing, but failed if JWT is
       presented but invalid. Similar to allow_missing_or_failed, this is used
       to only verify JWTs and pass the verified payload to another filter. The
       different is this mode will reject requests with invalid tokens.
       
      .google.protobuf.Empty allow_missing = 6;
    • getRequiresTypeCase

      JwtRequirement.RequiresTypeCase getRequiresTypeCase()