lib/argo_workflows/configuration.rb
# Returns Auth Settings hash for api client.
Returns Auth Settings hash for api client.
Returns Auth Settings hash for api client .
def auth_settings
      {
        'BearerToken' =>
          {
            type: 'api_key',
            in: 'header',
            key: 'authorization',
            value: api_key_with_prefix('BearerToken')
          },
        'HTTPBasic' =>
          {
            type: 'basic',
            in: 'header',
            key: 'Authorization',
            value: basic_auth_token
          },
      }
    end
def auth_settings { 'BearerToken' => { type : 'api_key' , in : 'header' , key : 'authorization' , value : api_key_with_prefix ( 'BearerToken' ) } , 'HTTPBasic' => { type : 'basic' , in : 'header' , key : 'Authorization' , value : basic_auth_token } , } end
Returns Auth Settings hash for api client.
Returns Auth Settings hash for api client .