Class ValidateOptions

java.lang.Object
com.salesforce.multicloudj.sts.model.ValidateOptions

public class ValidateOptions extends Object
ValidateOptions carries optional, substrate-agnostic knobs that influence how a signed cloud native auth request is validated by a verifier.

All options are optional; an instance built with no customization requests the default validation behavior. When expected custom headers are supplied, validation fails if any expected header is missing from the signed request or has a different value.

  • Method Details

    • builder

      public static ValidateOptions.Builder builder()
    • getExpectedCustomHeaders

      public Map<String,String> getExpectedCustomHeaders()
      Key-value pairs that must match the custom headers carried by the signed request. Validation fails if any expected header is missing or has a different value.