Skip to content
  • Kristupas Antanavičius's avatar
    Support JOB-TOKEN authentication header for generic packages · 1b32ed84
    Kristupas Antanavičius authored
    Support both JOB-TOKEN and basic authentication headers for Generic
    packages.
    
    Update `route_authentication_setting[:job_token_allowed]` to support
    the following values:
    - `true`, `:request`, `[:request]` to authenticate using params or
        `JOB-TOKEN` header
    - `:basic_auth`, `[:basic_auth]` to authenticate using Basic
        Authentication header
    - `[:request, :basic_auth]` to authenticate using both params or
        `JOB-TOKEN` header, and Basic Authentication header.
    
    Changelog: changed
    1b32ed84