class Doorkeeper::OAuth::RefreshTokenRequest

def validate_client_match

Other tags:
    See: https://datatracker.ietf.org/doc/html/rfc6749#section-1.5 -
def validate_client_match
  return true if refresh_token.application_id.blank?
  client && refresh_token.application_id == client.id
end