module ActionController::HttpAuthentication::Token

def raw_params(auth)

`AUTHN_PAIR_DELIMITERS`.
the standardized `:`, `;`, or `\t` delimiters defined in
This method takes an authorization body and splits up the key-value pairs by
def raw_params(auth)
  _raw_params = auth.sub(TOKEN_REGEX, "").split(AUTHN_PAIR_DELIMITERS).map(&:strip)
  _raw_params.reject!(&:empty?)
  if !_raw_params.first&.start_with?(TOKEN_KEY)
    _raw_params[0] = "#{TOKEN_KEY}#{_raw_params.first}"
  end
  _raw_params
end